toJson method

Map<String, dynamic> toJson()

Implementation

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