LhrEntity.fromJson constructor
LhrEntity.fromJson(
- Map json_
Implementation
LhrEntity.fromJson(core.Map json_)
: this(
category: json_.containsKey('category')
? json_['category'] as core.String
: null,
homepage: json_.containsKey('homepage')
? json_['homepage'] as core.String
: null,
isFirstParty: json_.containsKey('isFirstParty')
? json_['isFirstParty'] as core.bool
: null,
isUnrecognized: json_.containsKey('isUnrecognized')
? json_['isUnrecognized'] as core.bool
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
origins: json_.containsKey('origins')
? (json_['origins'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);