copyWith method

SendTonCenterApiRequest copyWith({
  1. String? endpoint,
  2. TonCenterApiRequestType? type,
})

Implementation

SendTonCenterApiRequest copyWith({
  String? endpoint,
  TonCenterApiRequestType? type,
}) =>
    SendTonCenterApiRequest(
      endpoint: endpoint ?? this.endpoint,
      type: type ?? this.type,
    );