copyWith method

  1. @override
MemberActionModel copyWith({
  1. String? documentID,
  2. String? text,
  3. String? description,
  4. ActionModel? action,
})
override

Implementation

@override
MemberActionModel copyWith({
  String? documentID,
  String? text,
  String? description,
  ActionModel? action,
}) {
  return MemberActionModel(
    documentID: documentID ?? this.documentID,
    text: text ?? this.text,
    description: description ?? this.description,
    action: action ?? this.action,
  );
}