toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (backup != null) 'backup': backup!,
if (backupLocation != null) 'backupLocation': backupLocation!,
if (requestId != null) 'requestId': requestId!,
if (restoreType != null) 'restoreType': restoreType!,
};