toList method

List<Map> toList(
  1. List<ModelType> model
)

Implementation

List<Map> toList(List<ModelType> model) {
  if (model == null) return null;
  return model.map(toMap).toList();
}