Publishing.fromJson constructor
Publishing.fromJson(
- Map json_
Implementation
Publishing.fromJson(core.Map json_)
: this(
apiShortName: json_.containsKey('apiShortName')
? json_['apiShortName'] as core.String
: null,
codeownerGithubTeams: json_.containsKey('codeownerGithubTeams')
? (json_['codeownerGithubTeams'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
docTagPrefix: json_.containsKey('docTagPrefix')
? json_['docTagPrefix'] as core.String
: null,
documentationUri: json_.containsKey('documentationUri')
? json_['documentationUri'] as core.String
: null,
githubLabel: json_.containsKey('githubLabel')
? json_['githubLabel'] as core.String
: null,
librarySettings: json_.containsKey('librarySettings')
? (json_['librarySettings'] as core.List)
.map((value) => ClientLibrarySettings.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
methodSettings: json_.containsKey('methodSettings')
? (json_['methodSettings'] as core.List)
.map((value) => MethodSettings.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
newIssueUri: json_.containsKey('newIssueUri')
? json_['newIssueUri'] as core.String
: null,
organization: json_.containsKey('organization')
? json_['organization'] as core.String
: null,
protoReferenceDocumentationUri:
json_.containsKey('protoReferenceDocumentationUri')
? json_['protoReferenceDocumentationUri'] as core.String
: null,
restReferenceDocumentationUri:
json_.containsKey('restReferenceDocumentationUri')
? json_['restReferenceDocumentationUri'] as core.String
: null,
);