copyWith method

  1. @override
ChatMediumModel copyWith({
  1. String? documentID,
  2. MemberMediumModel? memberMedium,
})
override

Implementation

@override
ChatMediumModel copyWith({
  String? documentID,
  MemberMediumModel? memberMedium,
}) {
  return ChatMediumModel(
    documentID: documentID ?? this.documentID,
    memberMedium: memberMedium ?? this.memberMedium,
  );
}