copyWith method
Implementation
AccessEntity copyWith({
String? documentID,
String? appId,
int? privilegeLevel,
int? points,
bool? blocked,
int? privilegeLevelBeforeBlocked,
}) {
return AccessEntity(
appId: appId ?? this.appId,
privilegeLevel: privilegeLevel ?? this.privilegeLevel,
points: points ?? this.points,
blocked: blocked ?? this.blocked,
privilegeLevelBeforeBlocked:
privilegeLevelBeforeBlocked ?? this.privilegeLevelBeforeBlocked,
);
}