copyWith method

Wallet copyWith({
  1. String? privateKey,
  2. String? address,
})

Implementation

Wallet copyWith({
  String? privateKey,
  String? address,
}) =>
    Wallet(
      privateKey: privateKey ?? this.privateKey,
      address: address ?? this.address,
    );