WebToken.fromJson constructor
WebToken.fromJson(
- Map json_
Implementation
WebToken.fromJson(core.Map json_)
: this(
enabledFeatures: json_.containsKey('enabledFeatures')
? (json_['enabledFeatures'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
parentFrameUrl: json_.containsKey('parentFrameUrl')
? json_['parentFrameUrl'] as core.String
: null,
permissions: json_.containsKey('permissions')
? (json_['permissions'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
value:
json_.containsKey('value') ? json_['value'] as core.String : null,
);