Discussion class

Inheritance
Annotations
  • @injectable

Constructors

Discussion()

Properties

childrens JsonList<Discussion>
getter/setter pair
content JsonString
getter/setter pair
createdAt JsonDate
getter/setter pair
creator JsonObject<AppUser>
getter/setter pair
creatorId JsonInteger
getter/setter pair
deletedAt JsonDate
getter/setter pair
discussionId JsonInteger
getter/setter pair
error String?
Returns the first general error message, or null if there are no errors.
no setterinherited
errors Map<String, String?>
A map of field-specific error messages, keyed by field name.
getter/setter pairinherited
fields List<JsonField>
The list of JSON fields that define the structure of this model.
no setteroverride
files JsonList<File>
getter/setter pair
generalErrors List<String>
A list of general error messages that apply to the entire model.
getter/setter pairinherited
generalInformations List<String>
A list of general informational messages about the model.
getter/setter pairinherited
generalWarnings List<String>
A list of general warning messages that apply to the entire model.
getter/setter pairinherited
hasError bool
Returns true if the model has any field-specific or general errors.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasInformation bool
Returns true if the model has any field-specific or general informational messages.
no setterinherited
hasWarning bool
Returns true if the model has any field-specific or general warnings.
no setterinherited
id JsonInteger
getter/setter pair
information String?
Returns the first general informational message, or null if there are none.
no setterinherited
informations Map<String, String?>
A map of field-specific informational messages, keyed by field name.
getter/setter pairinherited
isOwner JsonBoolean
getter/setter pair
isPopup JsonBoolean
getter/setter pair
lastestComment JsonObject<LastestComment>
getter/setter pair
lastestCommentId JsonInteger
getter/setter pair
mobileContent JsonString
getter/setter pair
numberOfUnreadComments JsonInteger
getter/setter pair
orderBy JsonString
getter/setter pair
orderType JsonString
getter/setter pair
parentId JsonInteger
getter/setter pair
requestId JsonInteger
getter/setter pair
requestName JsonString
getter/setter pair
requestProperty JsonString
getter/setter pair
requisitionEntity JsonObject<RequisitionEntity>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skip JsonInteger
getter/setter pair
take JsonInteger
getter/setter pair
unread JsonBoolean
getter/setter pair
updatedAt JsonDate
getter/setter pair
userReacteds JsonList<CommentReaction>
getter/setter pair
warning String?
Returns the first general warning message, or null if there are no warnings.
no setterinherited
warnings Map<String, String?>
A map of field-specific warning messages, keyed by field name.
getter/setter pairinherited

Methods

fromJson(dynamic json) → void
Deserializes JSON data into this model instance.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this model instance to a JSON map.
inherited
toString() String
Returns a JSON string representation of this model.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String name) → dynamic
Retrieves the value of a field by its name using bracket notation.
inherited
operator []=(String name, dynamic value) → void
Sets the value of a field by its name using bracket notation.
inherited