Map<String, dynamic> toJson() { Map<String, dynamic> data = new Map<String, dynamic>(); data['target'] = target; data['options'] = options; return data; }