toMapList method

List<Map<String, dynamic>> toMapList()

Implementation

List<Map<String, dynamic>> toMapList() => (
    this.map((product) => product.toMap()).toList()
);