Map<String, dynamic> toMap() { return <String, dynamic>{ 'defaultLeaderLocation': defaultLeaderLocation, 'location': location, 'type': type, }; }