Consent constructor

Consent({
  1. String? clientId,
  2. String? clientName,
  3. List<String> scopes = const [],
  4. DateTime? grantedAt,
})

Returns a new Consent instance.

Implementation

Consent({
  this.clientId,
  this.clientName,
  this.scopes = const [],
  this.grantedAt,
});