toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accessGuidance != null) 'accessGuidance': accessGuidance!,
      if (annotations != null) 'annotations': annotations!,
      if (apiSpecRevision != null) 'apiSpecRevision': apiSpecRevision!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (endpointUri != null) 'endpointUri': endpointUri!,
      if (externalChannelUri != null)
        'externalChannelUri': externalChannelUri!,
      if (intendedAudience != null) 'intendedAudience': intendedAudience!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (revisionCreateTime != null)
        'revisionCreateTime': revisionCreateTime!,
      if (revisionId != null) 'revisionId': revisionId!,
      if (revisionUpdateTime != null)
        'revisionUpdateTime': revisionUpdateTime!,
    };