initGazeTracker method
Implementation
@override
Future<InitializedResult?> initGazeTracker(String licenseKey,
bool useAttention, bool useBlink, bool useDrowsiness) async {
final method = SeeSoPluginMethod.INIT_GAZE_TRACKER.name;
final Map<String, dynamic> arguments = {
SeeSoPluginArgumentKey.LICENSE_KEY.name: licenseKey,
SeeSoPluginArgumentKey.USE_ATTENTION.name: useAttention,
SeeSoPluginArgumentKey.USE_BLINK.name: useBlink,
SeeSoPluginArgumentKey.USE_DROWSINESS.name: useDrowsiness,
};
final result = await methodChannel.invokeMethod(method, arguments);
return InitializedResult(result);
}