D1APP-16 alert type view model added

This commit is contained in:
MohammadTaha Basiri 2022-01-08 13:47:07 +03:30
parent 6e8956eb8b
commit eccde6f68a
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
import 'package:didvan/models/enums.dart';
class AlertData {
final String message;
final ALertType aLertType;
AlertData({required this.message});
AlertData({required this.message, this.aLertType = ALertType.error});
}