RefreshResponse constructor

const RefreshResponse({
  1. required String expires_in,
  2. required String token_type,
  3. required String refresh_token,
  4. required String id_token,
  5. required String user_id,
  6. required String project_id,
})

Default constructor

Implementation

const factory RefreshResponse({
  /// The number of seconds in which the ID token expires.
  required String expires_in,
  // The type of the refresh token, always "Bearer".
  required String token_type,

  /// The Firebase Auth refresh token provided in the request or a new refresh
  /// token.
  required String refresh_token,

  /// A Firebase Auth ID token.
  required String id_token,

  /// The uid corresponding to the provided ID token.
  required String user_id,

  /// Your Firebase project ID.
  required String project_id,
}) = _RefreshResponse;