GoogleHomeEnterpriseSdmV1Device.fromJson constructor
GoogleHomeEnterpriseSdmV1Device.fromJson(
- Map json_
Implementation
GoogleHomeEnterpriseSdmV1Device.fromJson(core.Map json_)
: this(
name: json_.containsKey('name') ? json_['name'] as core.String : null,
parentRelations: json_.containsKey('parentRelations')
? (json_['parentRelations'] as core.List)
.map((value) =>
GoogleHomeEnterpriseSdmV1ParentRelation.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
traits: json_.containsKey('traits')
? json_['traits'] as core.Map<core.String, core.dynamic>
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);