copyWith method

AccountResponseMessage copyWith({
  1. String? accountId,
  2. String? name,
  3. String? liveApiToken,
  4. String? testApiToken,
  5. String? userToken,
})

Implementation

AccountResponseMessage copyWith({
  String? accountId,
  String? name,
  String? liveApiToken,
  String? testApiToken,
  String? userToken,
}) {
  return AccountResponseMessage(
    accountId: accountId ?? this.accountId,
    name: name ?? this.name,
    liveApiToken: liveApiToken ?? this.liveApiToken,
    testApiToken: testApiToken ?? this.testApiToken,
    userToken: userToken ?? this.userToken,
  );
}