Map<String, dynamic> toMap() { return <String, dynamic>{ 'from': from, 'source': source, 'to': to, }; }