toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (mode != null) 'mode': mode!,
if (path != null) 'path': path!,
if (sha != null) 'sha': sha!,
if (size != null) 'size': size!,
if (type != null) 'type': type!,
};