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