logTimeEvent method

Future<void> logTimeEvent(
  1. String name,
  2. double seconds
)
override

Implementation

Future<void> logTimeEvent(String name, double seconds) async {
  await analytics?.logEvent(
    name: name,
    parameters: <String, dynamic>{
      'time': seconds,
    },
  );
  debugPrint('log TimeEvent succeeded');
}