startTask method
Future<void>
startTask(
- AppModel app,
- BuildContext context,
- String? memberId,
- AssignmentModel? assignmentModel,
override
Implementation
@override
Future<void> startTask(AppModel app, BuildContext context, String? memberId,
AssignmentModel? assignmentModel) {
if (assignmentModel == null) {
return Future.value(null);
}
openAckNackDialog(app, context, '${app.documentID}/membershipreq',
title: 'Join',
message: 'Do you want to request membership?', onSelection: (value) {
if (value == 0) {
confirmMembershipRequest(
app,
context,
assignmentModel,
);
}
});
return Future.value(null);
}