toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (ipAddress != null) 'ipAddress': ipAddress!,
      if (location != null) 'location': location!,
      if (region != null) 'region': region!,
    };