toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['diameter'] = diameter;
  data['usa'] = usa;
  data['australia'] = australia;
  data['europe'] = europe;
  data['japan'] = japan;
  return data;
}