Map<String, dynamic> toMap() { return <String, dynamic>{ 'path': ?path, 'ref': ?ref, 'repository': repository, }; }