forked from yaso_meth/mih-project
update BusinessUpdateArguments to include Business Parameter
This commit is contained in:
@@ -1,16 +1,25 @@
|
||||
import 'package:patient_manager/objects/appUser.dart';
|
||||
import 'package:patient_manager/objects/business.dart';
|
||||
import 'package:patient_manager/objects/businessUser.dart';
|
||||
|
||||
class BusinessUpdateArguments {
|
||||
final AppUser signedInUser;
|
||||
final BusinessUser? businessUser;
|
||||
final Business? business;
|
||||
|
||||
BusinessUpdateArguments(this.signedInUser, this.businessUser);
|
||||
BusinessUpdateArguments(
|
||||
this.signedInUser,
|
||||
this.businessUser,
|
||||
this.business,
|
||||
);
|
||||
}
|
||||
|
||||
class PatientViewArguments {
|
||||
final AppUser signedInUser;
|
||||
final String type;
|
||||
|
||||
PatientViewArguments(this.signedInUser, this.type);
|
||||
PatientViewArguments(
|
||||
this.signedInUser,
|
||||
this.type,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user