Merchant class

Merchant model.

Annotations
  • @JsonSerializable(explicitToJson: true, fieldRename: FieldRename.snake)

Constructors

Merchant({required String name, required String url, required String logoUrl, required String logoThumbnailUrl, required bool verified, required String username, required String publicProfile, required Owner owner, required DateTime createdAt, DateTime? updatedAt})
Merchant model.
const
Merchant.fromJson(Map<String, dynamic> json)
factory

Properties

createdAt DateTime
The merchant date of creation.
final
hashCode int
The hash code for this object.
no setterinherited
logoThumbnailUrl String
The merchant logo thumbnail URL.
final
logoUrl String
The merchant logo URL.
final
name String
The merchant name.
final
owner Owner
The merchant owner.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
publicProfile String
The merchant public profile.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
updatedAt DateTime?
The merchant date of last update.
final
url String
The merchant URL.
final
username String
The merchant username.
final
verified bool
Whether the merchant is verified.
final

Methods

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 ==(Object other) bool
The equality operator.
inherited