EMMessageBody class Null safety
Constructors
- EMMessageBody({required EMMessageBodyType? type})
- EMMessageBody.fromJson({required Map map, EMMessageBodyType? type})
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- type ↔ EMMessageBodyType?
-
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String - A string representation of this object. [...]
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Static Methods
-
bodyTypeToTypeStr(
EMMessageBodyType type) → String