toJson method

  1. @override
List<Map<String, dynamic>> toJson()
override

Serialise to the wire shape (string or array of ResponseItem JSON).

Implementation

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