TransactionResult.fromJson constructor
Implementation
factory TransactionResult.fromJson(Map<String, dynamic> json) =>
TransactionResult(
hash: json['hash'] as String,
success: json['success'] as bool,
error: json['error'] == null
? null
: TransactionError.fromJson(json['error']),
);