ChatMessageAttachmentViewModel class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- ChatMessageAttachmentViewModel.new({String? src, String? mimeType, AttachmentType? type, AttachmentProvider? provider})
-
ChatMessageAttachmentViewModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- mimeType → String?
-
final
- provider → AttachmentProvider?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- src → String?
-
final
- type → AttachmentType?
-
final
Methods
-
copyWith(
{String? src, String? mimeType, AttachmentType? type, AttachmentProvider? provider}) → ChatMessageAttachmentViewModel -
Available on ChatMessageAttachmentViewModel, provided by the $ChatMessageAttachmentViewModelExtension extension
-
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.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
override
Constants
-
fromJsonFactory
→ const ChatMessageAttachmentViewModel Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(ChatMessageAttachmentViewModel instance)