copyWith method

UpdateServiceNotification copyWith({
  1. String? type,
  2. MessageContent? content,
})

Implementation

UpdateServiceNotification copyWith({String? type, MessageContent? content}) =>
    UpdateServiceNotification(
      type: type ?? this.type,
      content: content ?? this.content,
    );