copyWith method

  1. @override
BlockingModel copyWith({
  1. String? documentID,
  2. String? memberBlocking,
  3. String? memberBeingBlocked,
})
override

Implementation

@override
BlockingModel copyWith({
  String? documentID,
  String? memberBlocking,
  String? memberBeingBlocked,
}) {
  return BlockingModel(
    documentID: documentID ?? this.documentID,
    memberBlocking: memberBlocking ?? this.memberBlocking,
    memberBeingBlocked: memberBeingBlocked ?? this.memberBeingBlocked,
  );
}