toJson method

Map<String, dynamic> toJson()

Implementation

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