CustomAttachmentModel class
Model Custom Attachment.
- Inheritance
-
- Object
- AttachmentModel
- CustomAttachmentModel
- Implementers
Constructors
-
CustomAttachmentModel(Map<
String, dynamic> payload, {required String attachType}) - CustomAttachmentModel.fromString(String attachment)
-
Parses an attachment from a string.
Example:
factory
Properties
- accessKey → String?
-
Attachment access key.
no setter
- attachType → String
-
Attachment type.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Attachment ID.
no setter
- ownerId → int
-
Attachment owner identifier.
no setter
-
payload
→ Map<
String, dynamic> -
Payload.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkBoolInProperty(
String key) → bool? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited