toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (targetId != null) 'targetId': targetId!,
if (targetMimeType != null) 'targetMimeType': targetMimeType!,
if (targetResourceKey != null) 'targetResourceKey': targetResourceKey!,
};