FeatureRequestDraft class
Draft proposal for creating a new feature request.
Example
final draft = FeatureRequestDraft(
title: 'Dark Mode Theme',
description: 'Add system-wide OLED dark mode option.',
requesterName: 'Alex',
);
Constructors
- FeatureRequestDraft({required String title, required String description, String? requesterName})
-
Creates a FeatureRequestDraft proposal.
const
Properties
- description → String
-
Detailed description or use case explanation.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- requesterName → String?
-
Proposing user's self-declared name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Feature request title.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{required String appKey, required String requesterToken}) → Map< String, dynamic> -
Serializes FeatureRequestDraft to JSON for
POST /api/v1/feature-requests. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited