ListBuildTriggersResponse.fromJson constructor

ListBuildTriggersResponse.fromJson(
  1. Map json_
)

Implementation

ListBuildTriggersResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        triggers: json_.containsKey('triggers')
            ? (json_['triggers'] as core.List)
                .map((value) => BuildTrigger.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );