copyWith method

  1. @override
UpdateGroupCallMessageSendFailed copyWith({
  1. int? groupCallId,
  2. int? messageId,
  3. TdError? error,
  4. dynamic extra,
  5. int? clientId,
})
override

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

@override
UpdateGroupCallMessageSendFailed copyWith({
  int? groupCallId,
  int? messageId,
  TdError? error,
  dynamic extra,
  int? clientId,
}) => UpdateGroupCallMessageSendFailed(
  groupCallId: groupCallId ?? this.groupCallId,
  messageId: messageId ?? this.messageId,
  error: error ?? this.error,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);