copyWith method

MemberActionEntity copyWith({
  1. String? documentID,
  2. String? text,
  3. String? description,
  4. ActionEntity? action,
})

Implementation

MemberActionEntity copyWith({
  String? documentID,
  String? text,
  String? description,
  ActionEntity? action,
}) {
  return MemberActionEntity(
    text: text ?? this.text,
    description: description ?? this.description,
    action: action ?? this.action,
  );
}