copyWith method
MemberPublicInfoModel
copyWith({
- String? documentID,
- String? name,
- String? photoURL,
- List<
MemberSubscriptionModel> ? subscriptions,
override
Implementation
@override
MemberPublicInfoModel copyWith({
String? documentID,
String? name,
String? photoURL,
List<MemberSubscriptionModel>? subscriptions,
}) {
return MemberPublicInfoModel(
documentID: documentID ?? this.documentID,
name: name ?? this.name,
photoURL: photoURL ?? this.photoURL,
subscriptions: subscriptions ?? this.subscriptions,
);
}