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/appUser.dart';
|
||||||
|
import 'package:patient_manager/objects/business.dart';
|
||||||
import 'package:patient_manager/objects/businessUser.dart';
|
import 'package:patient_manager/objects/businessUser.dart';
|
||||||
|
|
||||||
class BusinessUpdateArguments {
|
class BusinessUpdateArguments {
|
||||||
final AppUser signedInUser;
|
final AppUser signedInUser;
|
||||||
final BusinessUser? businessUser;
|
final BusinessUser? businessUser;
|
||||||
|
final Business? business;
|
||||||
|
|
||||||
BusinessUpdateArguments(this.signedInUser, this.businessUser);
|
BusinessUpdateArguments(
|
||||||
|
this.signedInUser,
|
||||||
|
this.businessUser,
|
||||||
|
this.business,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
class PatientViewArguments {
|
class PatientViewArguments {
|
||||||
final AppUser signedInUser;
|
final AppUser signedInUser;
|
||||||
final String type;
|
final String type;
|
||||||
|
|
||||||
PatientViewArguments(this.signedInUser, this.type);
|
PatientViewArguments(
|
||||||
|
this.signedInUser,
|
||||||
|
this.type,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user