ExtensionChainExtension.fromJson constructor
ExtensionChainExtension.fromJson(
- Map json_
Implementation
ExtensionChainExtension.fromJson(core.Map json_)
: this(
authority: json_.containsKey('authority')
? json_['authority'] as core.String
: null,
failOpen: json_.containsKey('failOpen')
? json_['failOpen'] as core.bool
: null,
forwardHeaders: json_.containsKey('forwardHeaders')
? (json_['forwardHeaders'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
service: json_.containsKey('service')
? json_['service'] as core.String
: null,
supportedEvents: json_.containsKey('supportedEvents')
? (json_['supportedEvents'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
timeout: json_.containsKey('timeout')
? json_['timeout'] as core.String
: null,
);