SqueezeAction.fromJson constructor
Implementation
factory SqueezeAction.fromJson(Map<Object?, Object?> json) => SqueezeAction(
preferredAction:
PreferredAction.fromString(json["preferredAction"]!.toString()),
squeezePhase: SqueezePhase.fromString(json["squeezePhase"]!.toString()),
zOffset: json["zOffset"] as double?,
locationY: json["locationY"] as double?,
locationX: json["locationX"] as double?,
);