BlinkInfo constructor

BlinkInfo(
  1. Map event
)

Implementation

BlinkInfo(Map<dynamic, dynamic> event) {
  isBlink = event[MetricsInfoKey.isBlink.name] ?? false;
  isBlinkLeft = event[MetricsInfoKey.isBlinkLeft.name] ?? false;
  isBlinkRight = event[MetricsInfoKey.isBlinkRight.name] ?? false;
  leftOpenness = event[MetricsInfoKey.leftOpenness.name] ?? -1001;
  rightOpenness = event[MetricsInfoKey.rightOpenness.name] ?? -1001;
}