StatusObject constructor
StatusObject({
- StatusDirective? active,
- StatusDirective? suspended,
- 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');
}
}