toVendors static method

List<Vendor> toVendors(
  1. List rawList
)

Convert a list of dictionaries into a list of vendors.

Implementation

static List<Vendor> toVendors(List<dynamic> rawList) => rawList.map((e) => Vendor.fromJson(e)).toList();