fulfillWithDateEnded method
Reports the successful execution of the action at the specified time.
Implementation
Future<void> fulfillWithDateEnded(DateTime dateEnded) async {
try {
String method = 'fulfillWithDateEnded';
await _methodChannel.invokeMethod(
'$_ACTION.$method',
{'uuid': uuid, 'dateEnded': dateEnded.toIso8601String()},
);
_FCXLog._i(runtimeType, method);
} on PlatformException catch (e) {
var exception = FCXException(e.code, e.message);
_FCXLog._e(runtimeType, exception);
throw exception;
}
}