Map<String, dynamic> toMap() { return <String, dynamic>{ 'database': database, 'host': host, 'port': port, }; }