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