isToday static method

Future<bool?> isToday(
  1. DateTime dateTime
)

Implementation

static Future<bool?> isToday(DateTime dateTime) async {
  final date = dateTime.toUtc().toIso8601String();
  final bool? isSuccess = await _channel.invokeMethod(
    'isToday',
    {
      'dateTime': date,
    },
  );
  return isSuccess;
}