socialLogin method Null safety

Future<SocialLoginUserModel> socialLogin(
  1. {required SocialLoginUserModel socialLoginUserModel}
)

It's used to make login with social.

SocialType: Facebook=1, Twitter=2, Apple Id=7, Instgram=3

You should pass the id that returns from social authentication to SocialCode.

Implementation

Future<SocialLoginUserModel> socialLogin(
    {required SocialLoginUserModel socialLoginUserModel});