ListWebAppsResponse.fromJson constructor

ListWebAppsResponse.fromJson(
  1. Map _json
)

Implementation

ListWebAppsResponse.fromJson(core.Map _json)
    : this(
        apps: _json.containsKey('apps')
            ? (_json['apps'] as core.List)
                .map<WebApp>((value) => WebApp.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
      );