getClassNameForObject method
Get the className for the provided object.
Implementation
@override
String? getClassNameForObject(Object? data) {
String? className = super.getClassNameForObject(data);
if (className != null) return className;
if (data is _i3.AppleAuthInfo) {
return 'AppleAuthInfo';
}
if (data is _i4.AuthKey) {
return 'AuthKey';
}
if (data is _i5.AuthenticationFailReason) {
return 'AuthenticationFailReason';
}
if (data is _i6.AuthenticationResponse) {
return 'AuthenticationResponse';
}
if (data is _i7.EmailAuth) {
return 'EmailAuth';
}
if (data is _i8.EmailCreateAccountRequest) {
return 'EmailCreateAccountRequest';
}
if (data is _i9.EmailFailedSignIn) {
return 'EmailFailedSignIn';
}
if (data is _i10.EmailPasswordReset) {
return 'EmailPasswordReset';
}
if (data is _i11.EmailReset) {
return 'EmailReset';
}
if (data is _i12.GoogleRefreshToken) {
return 'GoogleRefreshToken';
}
if (data is _i13.UserImage) {
return 'UserImage';
}
if (data is _i14.UserInfo) {
return 'UserInfo';
}
if (data is _i15.UserInfoPublic) {
return 'UserInfoPublic';
}
if (data is _i16.UserSettingsConfig) {
return 'UserSettingsConfig';
}
className = _i2.Protocol().getClassNameForObject(data);
if (className != null) {
return 'serverpod.$className';
}
return null;
}