toJson method
Implementation
@override
Object toJson() {
return {
if (storageSource != null) 'storageSource': storageSource!.toJson(),
if (repoSource != null) 'repoSource': repoSource!.toJson(),
if (gitUri != null) 'gitUri': gitUri,
};
}