SupportedDatabaseFlag.fromJson constructor
SupportedDatabaseFlag.fromJson(
- Map json_
Implementation
SupportedDatabaseFlag.fromJson(core.Map json_)
: this(
acceptsMultipleValues: json_['acceptsMultipleValues'] as core.bool?,
flagName: json_['flagName'] as core.String?,
integerRestrictions: json_.containsKey('integerRestrictions')
? IntegerRestrictions.fromJson(json_['integerRestrictions']
as core.Map<core.String, core.dynamic>)
: null,
name: json_['name'] as core.String?,
recommendedIntegerValue:
json_['recommendedIntegerValue'] as core.String?,
recommendedStringValue:
json_['recommendedStringValue'] as core.String?,
requiresDbRestart: json_['requiresDbRestart'] as core.bool?,
scope: json_['scope'] as core.String?,
stringRestrictions: json_.containsKey('stringRestrictions')
? StringRestrictions.fromJson(json_['stringRestrictions']
as core.Map<core.String, core.dynamic>)
: null,
supportedDbVersions: (json_['supportedDbVersions'] as core.List?)
?.map((value) => value as core.String)
.toList(),
valueType: json_['valueType'] as core.String?,
);