SecurityPolicy.fromJson constructor
SecurityPolicy.fromJson(
- Map json_
Implementation
SecurityPolicy.fromJson(core.Map json_)
: this(
name: json_.containsKey('name') ? json_['name'] as core.String : null,
preview: json_.containsKey('preview')
? json_['preview'] as core.bool
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);