HydraDomains class
Represents a HydraDomains object as is, directly provided from mailtm API
- Annotations
-
- @freezed
Constructors
-
HydraDomains({@JsonKey(name: 'hydra:member') required List<
Domain> domains, @JsonKey(name: 'hydra:totalItems') required int totalItems}) -
HydraDomains constructor.
MUST NOT
be used manually Use MailTm andAuthorizedUser
constfactory -
HydraDomains.fromJson(Map<
String, Object?> json) -
HydraDomains jsonizer. Allows freezed to add a from/toJson
factory
Properties
-
copyWith
→ $HydraDomainsCopyWith<
HydraDomains> -
no setterinherited
-
domains
→ List<
Domain> -
The domains in hydra:member
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalItems → int
-
The total number of items.
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