toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (apiShortName != null) 'apiShortName': apiShortName!,
      if (codeownerGithubTeams != null)
        'codeownerGithubTeams': codeownerGithubTeams!,
      if (docTagPrefix != null) 'docTagPrefix': docTagPrefix!,
      if (documentationUri != null) 'documentationUri': documentationUri!,
      if (githubLabel != null) 'githubLabel': githubLabel!,
      if (librarySettings != null) 'librarySettings': librarySettings!,
      if (methodSettings != null) 'methodSettings': methodSettings!,
      if (newIssueUri != null) 'newIssueUri': newIssueUri!,
      if (organization != null) 'organization': organization!,
      if (protoReferenceDocumentationUri != null)
        'protoReferenceDocumentationUri': protoReferenceDocumentationUri!,
      if (restReferenceDocumentationUri != null)
        'restReferenceDocumentationUri': restReferenceDocumentationUri!,
    };