fDXNotificationCategoryListFromJson function
List<FDXNotificationCategory>
fDXNotificationCategoryListFromJson(
- List? fDXNotificationCategory, [
- List<
FDXNotificationCategory> ? defaultValue
Implementation
List<enums.FDXNotificationCategory> fDXNotificationCategoryListFromJson(
List? fDXNotificationCategory, [
List<enums.FDXNotificationCategory>? defaultValue,
]) {
if (fDXNotificationCategory == null) {
return defaultValue ?? [];
}
return fDXNotificationCategory
.map((e) => fDXNotificationCategoryFromJson(e.toString()))
.toList();
}