signIn property

signIn call make this connection early in your code configuration

Implementation

static Future<SignInResult> get signIn async {
  final Map<dynamic, dynamic> _response =
      await _channel.invokeMethod(Methods.getSignIn);

  SignInResult result = new SignInResult()
    ..success = _response[_RESPONSE] == _SUCCESS;
  result.message = _response[_MESSAGE];

  if (result.success) {
    result.account = Account()
      ..id = _response[_ID]
      ..displayName = _response[_DISPLAY_NAME];

    /// TO DO ADD IMAGE CONNECTION
  }
  return result;
}