D1APP-16 alert type view model added
This commit is contained in:
parent
6e8956eb8b
commit
eccde6f68a
|
|
@ -1,5 +1,8 @@
|
||||||
|
import 'package:didvan/models/enums.dart';
|
||||||
|
|
||||||
class AlertData {
|
class AlertData {
|
||||||
final String message;
|
final String message;
|
||||||
|
final ALertType aLertType;
|
||||||
|
|
||||||
AlertData({required this.message});
|
AlertData({required this.message, this.aLertType = ALertType.error});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue