GoogleFirebaseExtensionsV1betaResource.fromJson constructor
GoogleFirebaseExtensionsV1betaResource.fromJson(
- Map _json
Implementation
GoogleFirebaseExtensionsV1betaResource.fromJson(core.Map _json)
: this(
deletionPolicy: _json.containsKey('deletionPolicy')
? _json['deletionPolicy'] as core.String
: null,
description: _json.containsKey('description')
? _json['description'] as core.String
: null,
name: _json.containsKey('name') ? _json['name'] as core.String : null,
properties: _json.containsKey('properties')
? (_json['properties'] as core.Map<core.String, core.dynamic>)
.map(
(key, item) => core.MapEntry(
key,
item as core.Map<core.String, core.dynamic>,
),
)
: null,
propertiesYaml: _json.containsKey('propertiesYaml')
? _json['propertiesYaml'] as core.String
: null,
type: _json.containsKey('type') ? _json['type'] as core.String : null,
);