PercentPair.fromJson constructor

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

Implementation

factory PercentPair.fromJson(Map<String, dynamic> json) {
  return PercentPair(
    percent: json['percent'] as double?,
    value: json['value'] as double?,
  );
}