StatusObject constructor

StatusObject({
  1. StatusDirective? active,
  2. StatusDirective? suspended,
  3. StatusDirective? revoked,
})

Implementation

StatusObject({this.active, this.suspended, this.revoked}) {
  if (revoked == null && suspended == null && active == null) {
    throw FormatException(
        'One property out of active, revoked and suspended must be given');
  }
}