ChatMedia class

Constructors

ChatMedia({required String url, required MediaType mediaType})
ChatMedia.fromJson(String source)
factory
ChatMedia.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
mediaType MediaType
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
final

Methods

copyWith({String? url, MediaType? mediaType}) ChatMedia
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(covariant ChatMedia other) bool
The equality operator.
override