HeliumTransactionUnknown.fromJson constructor
Creates an instance from a map derived from the JSON serialization.
Implementation
factory HeliumTransactionUnknown.fromJson(Map<String, dynamic> json) {
Map<String, dynamic> data = HashMap();
data.addAll(json);
final type = _heliumTransactionTypeFromJson(data.remove('type'));
final hash = data.remove('hash');
final height = data.remove('height');
final time = heliumBlockTimeFromJson(data.remove('time'));
return HeliumTransactionUnknown(
type: type,
hash: hash,
height: height,
time: time,
data: data,
);
}