CompleteGoogleSignInBody.fromJson constructor

CompleteGoogleSignInBody.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory CompleteGoogleSignInBody.fromJson(Map<String, Object?> json) =>
    CompleteGoogleSignInBody(
      grantCode: json['grantCode'] as String,
      codeVerifier: json['codeVerifier'] as String,
      profile: json['profile'] == null
          ? null
          : (json['profile'] as Map).cast<String, Object?>(),
    );