KumihoCredentials constructor

KumihoCredentials({
  1. required String apiKey,
  2. required String email,
  3. required String refreshToken,
  4. required String idToken,
  5. required int expiresAt,
  6. String? projectId,
  7. String? controlPlaneToken,
  8. int? cpExpiresAt,
})

Creates credentials from JSON data.

Implementation

KumihoCredentials({
  required this.apiKey,
  required this.email,
  required this.refreshToken,
  required this.idToken,
  required this.expiresAt,
  this.projectId,
  this.controlPlaneToken,
  this.cpExpiresAt,
});