@override Object toJson() => { if (version.isNotDefault) 'version': version, if (path.isNotDefault) 'path': path, };