Add various informative alert-boxes
This commit is contained in:
@@ -3,8 +3,9 @@ class APIException implements Exception {
|
||||
final int error;
|
||||
final int errHighlight;
|
||||
final String message;
|
||||
final bool toastShown;
|
||||
|
||||
APIException(this.httpStatus, this.error, this.errHighlight, this.message);
|
||||
APIException(this.httpStatus, this.error, this.errHighlight, this.message, this.toastShown);
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
|
||||
Reference in New Issue
Block a user