devicePlatformListToJson function
Implementation
List<String> devicePlatformListToJson(
List<enums.DevicePlatform>? devicePlatform) {
if (devicePlatform == null) {
return [];
}
return devicePlatform.map((e) => enums.$DevicePlatformMap[e]!).toList();
}