MessageSource class
Represents a MessageSource object as is, directly provided from mailtm API
- Annotations
-
- @freezed
Constructors
- MessageSource({required String id, @Default('') String url, required String data})
-
MessageSource constructor.
MUST NOT
be used manually Use MailTm andAuthorizedUser
constfactory -
MessageSource.fromJson(Map<
String, Object?> json) -
MessageSource jsonizer. Allows freezed to add a from/toJson
factory
Properties
-
copyWith
→ $MessageSourceCopyWith<
MessageSource> -
no setterinherited
- data → String
-
Message data
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The id of the message.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String
-
Message download url
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited