IssuingTransactionFuelData.fromJson constructor
IssuingTransactionFuelData.fromJson(
- Object? json
Implementation
factory IssuingTransactionFuelData.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return IssuingTransactionFuelData(
type: (map['type'] as String),
unit: (map['unit'] as String),
unitCostDecimal: (map['unit_cost_decimal'] as String),
volumeDecimal: map['volume_decimal'] == null
? null
: (map['volume_decimal'] as String),
);
}