saveTransactionWithIdClearedNullableListFromJson function
List<SaveTransactionWithIdCleared> ?
saveTransactionWithIdClearedNullableListFromJson(
- List? saveTransactionWithIdCleared, [
- List<
SaveTransactionWithIdCleared> ? defaultValue
Implementation
List<enums.SaveTransactionWithIdCleared>?
saveTransactionWithIdClearedNullableListFromJson(
List? saveTransactionWithIdCleared, [
List<enums.SaveTransactionWithIdCleared>? defaultValue,
]) {
if (saveTransactionWithIdCleared == null) {
return defaultValue;
}
return saveTransactionWithIdCleared
.map((e) => saveTransactionWithIdClearedFromJson(e.toString()))
.toList();
}