toJson method

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

Implementation

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