toJson method

Map<String, dynamic> toJson()

Creates Map from Class Object

Implementation

Map<String, dynamic> toJson() => {
      'prefix': prefix,
      'items': items.map((e) => e.toJson()).toList(growable: false),
    };