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