ListDevicesResponse.fromJson constructor
Implementation
factory ListDevicesResponse.fromJson(Map<String, dynamic> json) {
return ListDevicesResponse(
devices: (json['Devices'] as List?)
?.whereNotNull()
.map((e) => DeviceType.fromJson(e as Map<String, dynamic>))
.toList(),
paginationToken: json['PaginationToken'] as String?,
);
}