ProfileModel class

Constructors

ProfileModel({required String documentID, required String appId, String? description, FeedModel? feed, BackgroundModel? backgroundOverride, StorageConditionsModel? conditions})

Properties

appId ↔ String
getter/setter pairoverride
backgroundOverride ↔ BackgroundModel?
getter/setter pair
conditions ↔ StorageConditionsModel?
getter/setter pair
description ↔ String?
getter/setter pair
documentID ↔ String
getter/setter pairoverride
feed ↔ FeedModel?
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

collectReferences({String? appId}) → Future<List<ModelReference>>
override
copyWith({String? documentID, String? appId, String? description, FeedModel? feed, BackgroundModel? backgroundOverride, StorageConditionsModel? conditions}) → ProfileModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) → ProfileEntity
override
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromEntity(String documentID, ProfileEntity? entity) → Future<ProfileModel?>
fromEntityPlus(String documentID, ProfileEntity? entity, {String? appId}) → Future<ProfileModel?>

Constants

id → const String
packageName → const String