connectionTypeV2NullableListFromJson function
- List? connectionTypeV2, [
- List<
ConnectionTypeV2> ? defaultValue
Implementation
List<enums.ConnectionTypeV2>? connectionTypeV2NullableListFromJson(
List? connectionTypeV2, [
List<enums.ConnectionTypeV2>? defaultValue,
]) {
if (connectionTypeV2 == null) {
return defaultValue;
}
return connectionTypeV2
.map((e) => connectionTypeV2FromJson(e.toString()))
.toList();
}