toMap method

Map<String, dynamic> toMap ()
override

Implementation

Map<String, dynamic> toMap() {
  Map<String, dynamic> map = {};
  if (_url != null) {
    map['url'] = _url;
  }
  if (_test != null) {
    map['test'] = _test;
  }
  if (_bounce != null) {
    map['bounce'] = _bounce;
  }
  map['type'] = _type;
  return map;
}