RareIntegerData.fromJson constructor

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

Implementation

factory RareIntegerData.fromJson(Map<String, dynamic> json) {
  return RareIntegerData(
    index: (json['index'] as List).map((e) => e as int).toList(),
    value: (json['value'] as List).map((e) => e as int).toList(),
  );
}