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