toJson method

dynamic toJson()

Implementation

toJson() => {
      'city': city,
      'description': description,
      'data': data.map((e) => e.toJson()).toList(),
    };