toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (depth != null) 'depth': depth!,
if (destPath != null) 'destPath': destPath!,
if (recurseSubmodules != null) 'recurseSubmodules': recurseSubmodules!,
if (repository != null) 'repository': repository!,
if (revision != null) 'revision': revision!,
};