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