Vibration.fromJson constructor

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

Implementation

factory Vibration.fromJson(Map<String, dynamic> json) => Vibration(
      enabled:
          json.containsKey("enabled") ? (json["enabled"] as bool) : false,
    );