toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
_json['unsignedTransaction'] = unsignedTransaction;
_json['signWith'] = signWith;
if (sponsor != null) {
_json['sponsor'] = sponsor;
}
_json['caip2'] = caip2;
if (recentBlockhash != null) {
_json['recentBlockhash'] = recentBlockhash;
}
return _json;
}