toJson method

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

Implementation

List<Map<String, dynamic>> toJson() => list.map((e) => e.toJson()).toList();