FirebaseProject.fromJson constructor
FirebaseProject.fromJson(
- Map _json
Implementation
FirebaseProject.fromJson(core.Map _json)
: this(
displayName: _json.containsKey('displayName')
? _json['displayName'] as core.String
: null,
name: _json.containsKey('name') ? _json['name'] as core.String : null,
projectId: _json.containsKey('projectId')
? _json['projectId'] as core.String
: null,
projectNumber: _json.containsKey('projectNumber')
? _json['projectNumber'] as core.String
: null,
resources: _json.containsKey('resources')
? DefaultResources.fromJson(
_json['resources'] as core.Map<core.String, core.dynamic>)
: null,
state:
_json.containsKey('state') ? _json['state'] as core.String : null,
);