fromStruct static method
Implementation
static Success<ListProperty, PropertyException> fromStruct(ListPropertyStruct struct) {
final log = Log(classLocation: ListProperty, functionLocation: 'fromStruct');
final nameResult = PropertyName.result(struct.name);
log.add(nameResult);
final valueResult = PropertyListValueList.fromPrimitive(struct.value);
log.add(valueResult);
final result = ListProperty.result(
nameResult.wrapped,
valueResult.wrapped,
);
log.add(result);
return Success(result.wrapped, log);
}