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