Message class
Constructors
-
Message({String? mid, String? content, String? imageUrl, String? voiceUrl, String? videoUrl, String? fileUrl, String? nickname, String? avatar, String? type, String? topic, String? timestamp, int? isSend, Thread? thread, User? user, String? status, String? currentUid, String? client, List<
Answer> ? answers, String? answersJson, List<Category> ? categories, String? categoriesJson}) -
Message.fromMap(Map<
String, dynamic> map)
Properties
-
answers
↔ List<
Answer> ? -
getter/setter pair
- answersJson ↔ String?
-
getter/setter pair
- avatar ↔ String?
-
getter/setter pair
-
categories
↔ List<
Category> ? -
getter/setter pair
- categoriesJson ↔ String?
-
getter/setter pair
- client ↔ String?
-
getter/setter pair
- content ↔ String?
-
getter/setter pair
- currentUid ↔ String?
-
getter/setter pair
- fileUrl ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageUrl ↔ String?
-
getter/setter pair
- isSend ↔ int?
-
getter/setter pair
- mid ↔ String?
-
getter/setter pair
- nickname ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ String?
-
getter/setter pair
- thread ↔ Thread?
-
getter/setter pair
- timestamp ↔ String?
-
getter/setter pair
- topic ↔ String?
-
getter/setter pair
- type ↔ String?
-
getter/setter pair
- user ↔ User?
-
getter/setter pair
- videoUrl ↔ String?
-
getter/setter pair
- voiceUrl ↔ String?
-
getter/setter pair
Methods
-
channelContent(
) → String? -
channelTitle(
) → String? -
channelType(
) → String? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
dynamic json) → Message -
fromJsonFileHelper(
dynamic json) → Message -
fromJsonRobotQuery(
dynamic json) → Message -
fromJsonThread(
dynamic json) → Message -
fromJsonThreadWorkGroupV2(
dynamic json) → Message