DestinationConfigTemplate.fromJson constructor
DestinationConfigTemplate.fromJson(
- Map json_
Implementation
DestinationConfigTemplate.fromJson(core.Map json_)
: this(
autocompleteSuggestions: json_.containsKey('autocompleteSuggestions')
? (json_['autocompleteSuggestions'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
defaultPort: json_.containsKey('defaultPort')
? json_['defaultPort'] as core.int
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
isAdvanced: json_.containsKey('isAdvanced')
? json_['isAdvanced'] as core.bool
: null,
key: json_.containsKey('key') ? json_['key'] as core.String : null,
max: json_.containsKey('max') ? json_['max'] as core.int : null,
min: json_.containsKey('min') ? json_['min'] as core.int : null,
portFieldType: json_.containsKey('portFieldType')
? json_['portFieldType'] as core.String
: null,
regexPattern: json_.containsKey('regexPattern')
? json_['regexPattern'] as core.String
: null,
);