toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (metadataExports != null)
'metadataExports':
metadataExports!.map((value) => value.toJson()).toList(),
if (restores != null)
'restores': restores!.map((value) => value.toJson()).toList(),
};