MicroPricing.fromJson constructor

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

Implementation

MicroPricing.fromJson(Map<String, dynamic> json) {
  price = json['price'];
  duration = json['duration'];
}