cborDataTypeNullableListFromJson function
- List? cborDataType, [
- List<
CborDataType> ? defaultValue
Implementation
List<enums.CborDataType>? cborDataTypeNullableListFromJson(
List? cborDataType, [
List<enums.CborDataType>? defaultValue,
]) {
if (cborDataType == null) {
return defaultValue;
}
return cborDataType.map((e) => cborDataTypeFromJson(e.toString())).toList();
}