ApiComment class
Constructors
-
ApiComment({Map<
String, dynamic> ? data, String? idx, String? rootIdx, String? parentIdx, String? userIdx, ApiShortUser? user, String? categoryIdx, String? subcategory, String? path, String? title, String? content, List<ApiFile> ? files, String? createdAt, String? updatedAt, String? deletedAt, String? depth, String? y, String? n, CommentMode mode = CommentMode.none, String? shortDateTime}) -
ApiComment.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
no setter
- categoryIdx ↔ String?
-
getter/setter pair
- content ↔ String?
-
getter/setter pair
- createdAt ↔ String?
-
getter/setter pair
-
data
↔ Map<
String, dynamic> ? -
getter/setter pair
- deletedAt ↔ String?
-
getter/setter pair
- depth ↔ String?
-
getter/setter pair
-
files
↔ List<
ApiFile> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- idx ↔ String?
-
getter/setter pair
- isCreate → bool
-
no setter
- isDeleted → bool
-
no setter
- isEdit → bool
-
no setter
- isMine → bool
-
no setter
- isNotMine → bool
-
no setter
- mode ↔ CommentMode
-
mode becomes
getter/setter pair
- n ↔ String?
-
getter/setter pair
- parentIdx ↔ String?
-
getter/setter pair
- path ↔ String?
-
getter/setter pair
- rootIdx ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortDateTime ↔ String?
-
getter/setter pair
- shortName → String?
-
Get short name for display
no setter
- subcategory ↔ String?
-
getter/setter pair
- title ↔ String?
-
The title is the title of the comment. It may be used if needed.
getter/setter pair
- updatedAt ↔ String?
-
getter/setter pair
- user ↔ ApiShortUser?
-
getter/setter pair
- userIdx ↔ String?
-
getter/setter pair
- y ↔ String?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited