MemberModel class

Constructors

MemberModel({required String documentID, String? name, List<MemberSubscriptionModel>? subscriptions, List<String>? subscriptionsAsStrArr, PublicMediumModel? photo, String? photoURL, String? shipStreet1, String? shipStreet2, String? shipCity, String? shipState, String? postcode, String? country, bool? invoiceSame, String? invoiceStreet1, String? invoiceStreet2, String? invoiceCity, String? invoiceState, String? invoicePostcode, String? invoiceCountry, String? email, bool? isAnonymous})

Properties

country String?
getter/setter pair
documentID String
getter/setter pairoverride
email String?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
invoiceCity String?
getter/setter pair
invoiceCountry String?
getter/setter pair
invoicePostcode String?
getter/setter pair
invoiceSame bool?
getter/setter pair
invoiceState String?
getter/setter pair
invoiceStreet1 String?
getter/setter pair
invoiceStreet2 String?
getter/setter pair
isAnonymous bool?
getter/setter pair
name String?
getter/setter pair
photo PublicMediumModel?
getter/setter pair
photoURL String?
getter/setter pair
postcode String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shipCity String?
getter/setter pair
shipState String?
getter/setter pair
shipStreet1 String?
getter/setter pair
shipStreet2 String?
getter/setter pair
subscriptions List<MemberSubscriptionModel>?
getter/setter pair
subscriptionsAsStrArr List<String>?
getter/setter pair

Methods

collectReferences({String? appId}) Future<List<ModelReference>>
override
copyWith({String? documentID, String? name, List<MemberSubscriptionModel>? subscriptions, List<String>? subscriptionsAsStrArr, PublicMediumModel? photo, String? photoURL, String? shipStreet1, String? shipStreet2, String? shipCity, String? shipState, String? postcode, String? country, bool? invoiceSame, String? invoiceStreet1, String? invoiceStreet2, String? invoiceCity, String? invoiceState, String? invoicePostcode, String? invoiceCountry, String? email, bool? isAnonymous}) MemberModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) MemberEntity
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromEntity(String documentID, MemberEntity? entity) Future<MemberModel?>
fromEntityPlus(String documentID, MemberEntity? entity, {String? appId}) Future<MemberModel?>

Constants

id → const String
packageName → const String