analyzeDateRange static method
Implementation
static Future<String> analyzeDateRange(
{required DateTime startDate, required DateTime endDate}) async {
try {
int startDateInt = startDate.millisecondsSinceEpoch;
int endDateInt = endDate.millisecondsSinceEpoch;
String value = await _channel.invokeMethod('analyzeDateRange',
{'startDate': startDateInt, 'endDate': endDateInt});
return value;
} on PlatformException catch (error) {
return Future.error(error);
}
}