toMap method

Map<String, dynamic> toMap()

Encodes TeamSearch object to json map

Implementation

Map<String, dynamic> toMap() => {
      'items': items == null ? null : items,
      'total_items': totalItems == null ? null : totalItems,
      'current_items': currentItems == null ? null : currentItems,
    };