copyWith method
Create a new TronKey instance by copying the existing one and replacing specified fields with new values.
Implementation
TronKey copyWith({
TronAddress? address,
BigInt? weight,
}) {
return TronKey(
address: address ?? this.address,
weight: weight ?? this.weight,
);
}