listOfValue<T> method
Returns a List of T
or an empty List if rawValue is not a List of T
If actual data is not a List of T
, calls builder
to get one
Implementation
List<T> listOfValue<T>([T? Function(dynamic)? builder]) {
return listOf<T>(builder) ?? [];
}