ListActionsResponse.fromJson constructor

ListActionsResponse.fromJson(
  1. Map json_
)

Implementation

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