toMap method

Map<String, dynamic> toMap ()
override

Implementation

Map<String, dynamic> toMap() {
  Map<String, dynamic> map = {};
  if (_collection != null) {
    map['collection'] = _collection;
  }
  if (_filter != null) {
    map['filter'] = _filter;
  }
  if (_result != null) {
    map['result'] = _result;
  }
  return map;
}