decodePrimitiveValue method
Implementation
@override
Object decodePrimitiveValue(ModelDB db, Object? value) {
if (value == null) return [];
if (value is! List) return [subProperty.decodePrimitiveValue(db, value)];
return value
.map((entry) => subProperty.decodePrimitiveValue(db, entry))
.toList();
}