getListValue function

List<DartObject>? getListValue(
  1. DartObject obj,
  2. String name
)

Catch list property value from dartObject

Implementation

List<DartObject>? getListValue(DartObject obj, String name) =>
    ifExist(obj, name) ? obj.getField(name)!.toListValue() : null;