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