ListFirebaseProjectsResponse.fromJson constructor

ListFirebaseProjectsResponse.fromJson(
  1. Map _json
)

Implementation

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