ExceptionRevokedEvent.fromJson constructor

ExceptionRevokedEvent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ExceptionRevokedEvent.fromJson(Map<String, dynamic> json) {
  return ExceptionRevokedEvent(
    reason: json['reason'] as String,
    exceptionId: json['exceptionId'] as int,
  );
}