ExUnitPrices.fromJson constructor

ExUnitPrices.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ExUnitPrices.fromJson(Map<String, dynamic> json) {
  return ExUnitPrices(
      memPrice: UnitInterval.fromJson(json['mem_price']),
      stepPrice: UnitInterval.fromJson(json['step_price']));
}