toJson method

  1. @override
Object toJson()
override

Implementation

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