toJson method

Map<String, dynamic> toJson()

Converts to JSON map.

Implementation

Map<String, dynamic> toJson() => {
      'api_key': apiKey,
      'email': email,
      'refresh_token': refreshToken,
      'id_token': idToken,
      'expires_at': expiresAt,
      'project_id': projectId,
      'control_plane_token': controlPlaneToken,
      'cp_expires_at': cpExpiresAt,
    };