getLastATTRequestDate method

  1. @override
Future<DateTime> getLastATTRequestDate()
override

Get last Date of ATTRacking request

Implementation

@override
Future<DateTime> getLastATTRequestDate() async {
  final double timestamp =
      await methodChannel.invokeMethod('getLastATTRequestDate');
  return DateTime.fromMillisecondsSinceEpoch((timestamp * 1000).toInt());
}