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