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