GerritSourceContext.fromJson constructor

GerritSourceContext.fromJson(
  1. Map json_
)

Implementation

GerritSourceContext.fromJson(core.Map json_)
    : this(
        aliasContext: json_.containsKey('aliasContext')
            ? AliasContext.fromJson(
                json_['aliasContext'] as core.Map<core.String, core.dynamic>)
            : null,
        gerritProject: json_.containsKey('gerritProject')
            ? json_['gerritProject'] as core.String
            : null,
        hostUri: json_.containsKey('hostUri')
            ? json_['hostUri'] as core.String
            : null,
        revisionId: json_.containsKey('revisionId')
            ? json_['revisionId'] as core.String
            : null,
      );