toJson method Null safety

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['0'] = _i0;
  data['1'] = _s1;
  data['2'] = _s2;
  data['4'] = _s4;
  data['8'] = _s8;
  return data;
}