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