Price.fromJson constructor

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

Implementation

factory Price.fromJson(Map<String, dynamic> json) =>
    new Price(json['n'] as int, json['d'] as int);