toMap method

  1. @override
Map<String, dynamic> toMap()
override

Implementation

@override
Map<String, dynamic> toMap() {
  final result = <String, dynamic>{};

  result.addAll({'leftEyeProbability': leftEyeProbability});
  result.addAll({'rightEyeProbability': rightEyeProbability});

  return result;
}