toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (administrativeArea != null)
        'administrativeArea': administrativeArea!,
      if (boundingBox != null) 'boundingBox': boundingBox!,
      if (center != null) 'center': center!,
      if (imageryDate != null) 'imageryDate': imageryDate!,
      if (imageryProcessedDate != null)
        'imageryProcessedDate': imageryProcessedDate!,
      if (imageryQuality != null) 'imageryQuality': imageryQuality!,
      if (name != null) 'name': name!,
      if (postalCode != null) 'postalCode': postalCode!,
      if (regionCode != null) 'regionCode': regionCode!,
      if (solarPotential != null) 'solarPotential': solarPotential!,
      if (statisticalArea != null) 'statisticalArea': statisticalArea!,
    };