update BusinessUpdateArguments to include Business Parameter
This commit is contained in:
parent
446d093e26
commit
de8f63c116
1 changed files with 11 additions and 2 deletions
|
|
@ -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,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue