toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (data != null) 'data': data!,
      if (discoveryDocumentUri != null)
        'discoveryDocumentUri': discoveryDocumentUri!,
      if (discoveryName != null) 'discoveryName': discoveryName!,
      if (location != null) 'location': location!,
      if (parent != null) 'parent': parent!,
      if (resourceUrl != null) 'resourceUrl': resourceUrl!,
      if (version != null) 'version': version!,
    };