copyWith method

RoleLevelSecurityModel copyWith({
  1. bool? read,
  2. bool? write,
  3. bool? update,
  4. bool? delete,
  5. String? uid,
})

Implementation

RoleLevelSecurityModel copyWith({
  bool? read,
  bool? write,
  bool? update,
  bool? delete,
  String? uid,
}) {
  return RoleLevelSecurityModel(
    read: read ?? this.read,
    write: write ?? this.write,
    update: update ?? this.update,
    delete: delete ?? this.delete,
    uid: uid ?? this.uid,
  );
}