MLGesture.fromMap constructor

MLGesture.fromMap(
  1. Map map
)

Implementation

factory MLGesture.fromMap(Map<dynamic, dynamic> map) {
  return MLGesture._(
    category: map['category'],
    score: map['score'],
    border: map['rect'] != null ? BodyBorder.fromMap(map['rect']) : null,
  );
}