toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (instanceProperties != null)
        'instanceProperties': instanceProperties!,
      if (relatedResources != null) 'relatedResources': relatedResources!,
      if (resourceKind != null) 'resourceKind': resourceKind!,
      if (resourceType != null) 'resourceType': resourceType!,
      if (resourceUri != null) 'resourceUri': resourceUri!,
      if (updateTime != null) 'updateTime': updateTime!,
    };