ListBrandsResponse.fromJson constructor
ListBrandsResponse.fromJson(
- Map json_
Implementation
ListBrandsResponse.fromJson(core.Map json_)
: this(
brands: json_.containsKey('brands')
? (json_['brands'] as core.List)
.map((value) => Brand.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);