RunBuildTriggerRequest.fromJson constructor

RunBuildTriggerRequest.fromJson(
  1. Map json_
)

Implementation

RunBuildTriggerRequest.fromJson(core.Map json_)
    : this(
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
        source: json_.containsKey('source')
            ? RepoSource.fromJson(
                json_['source'] as core.Map<core.String, core.dynamic>)
            : null,
        triggerId: json_.containsKey('triggerId')
            ? json_['triggerId'] as core.String
            : null,
      );