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