copyWith method

  1. @override
UpdateServiceNotification copyWith({
  1. String? type,
  2. MessageContent? content,
  3. dynamic extra,
  4. int? clientId,
})
override

Implementation

@override
UpdateServiceNotification copyWith({
  String? type,
  MessageContent? content,
  dynamic extra,
  int? clientId,
}) => UpdateServiceNotification(
  type: type ?? this.type,
  content: content ?? this.content,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);