RemoteConfigParameter.fromJson constructor
RemoteConfigParameter.fromJson(
- Map _json
Implementation
RemoteConfigParameter.fromJson(core.Map _json)
: this(
conditionalValues: _json.containsKey('conditionalValues')
? (_json['conditionalValues']
as core.Map<core.String, core.dynamic>)
.map(
(key, item) => core.MapEntry(
key,
RemoteConfigParameterValue.fromJson(
item as core.Map<core.String, core.dynamic>),
),
)
: null,
defaultValue: _json.containsKey('defaultValue')
? RemoteConfigParameterValue.fromJson(
_json['defaultValue'] as core.Map<core.String, core.dynamic>)
: null,
description: _json.containsKey('description')
? _json['description'] as core.String
: null,
valueType: _json.containsKey('valueType')
? _json['valueType'] as core.String
: null,
);