toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (lat != null) 'lat': lat!,
      if (lng != null) 'lng': lng!,
      if (name != null) 'name': name!,
      if (span != null) 'span': span!,
    };