AuthzExtension.fromJson constructor
AuthzExtension.fromJson(
- Map json_
Implementation
AuthzExtension.fromJson(core.Map json_)
: this(
authority: json_['authority'] as core.String?,
createTime: json_['createTime'] as core.String?,
description: json_['description'] as core.String?,
failOpen: json_['failOpen'] as core.bool?,
forwardHeaders: (json_['forwardHeaders'] as core.List?)
?.map((value) => value as core.String)
.toList(),
labels:
(json_['labels'] as core.Map<core.String, core.dynamic>?)?.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
),
loadBalancingScheme: json_['loadBalancingScheme'] as core.String?,
metadata: json_.containsKey('metadata')
? json_['metadata'] as core.Map<core.String, core.dynamic>
: null,
name: json_['name'] as core.String?,
service: json_['service'] as core.String?,
timeout: json_['timeout'] as core.String?,
updateTime: json_['updateTime'] as core.String?,
wireFormat: json_['wireFormat'] as core.String?,
);