SearchFirebaseAppsResponse.fromJson constructor

SearchFirebaseAppsResponse.fromJson(
  1. Map _json
)

Implementation

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