toMap method

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

Implementation

@override
Map<String, dynamic> toMap() {
  final map = super.toMap();
  map[fieldType] = '_';
  map[fieldRoute] = route;
  map[fieldQuery] = params;
  return map;
}