CreateTokenResponse.fromJson constructor

CreateTokenResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CreateTokenResponse.fromJson(Map<String, dynamic> json) {
  return CreateTokenResponse(
    accessToken: json['accessToken'] as String?,
    expiresIn: json['expiresIn'] as int?,
    idToken: json['idToken'] as String?,
    refreshToken: json['refreshToken'] as String?,
    tokenType: json['tokenType'] as String?,
  );
}