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