GestureConfig.fromJson constructor

GestureConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GestureConfig.fromJson(Map<String, dynamic> json) => GestureConfig(
  fingerCount: json['fingerCount'] ?? 2,
  tapCount: json['tapCount'] ?? 2,
);