Extension.fromJson constructor
Extension.fromJson(
- Map json_
Implementation
Extension.fromJson(core.Map json_)
: this(
category: json_.containsKey('category')
? json_['category'] as core.String
: null,
disabled: json_.containsKey('disabled')
? json_['disabled'] as core.bool
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
typeDescriptor: json_.containsKey('typeDescriptor')
? json_['typeDescriptor'] as core.String
: null,
typeUrls: json_.containsKey('typeUrls')
? (json_['typeUrls'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
version: json_.containsKey('version')
? BuildVersion.fromJson(
json_['version'] as core.Map<core.String, core.dynamic>)
: null,
);