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