copyWith method

TdError copyWith({
  1. int? code,
  2. String? message,
  3. dynamic extra,
  4. int? clientId,
})

Implementation

TdError copyWith({
  int? code,
  String? message,
  dynamic extra,
  int? clientId,
}) => TdError(
  code: code ?? this.code,
  message: message ?? this.message,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);