MaskPosition.fromJson constructor

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

Parse from a json

Implementation

factory MaskPosition.fromJson(Map<String, dynamic> json) => MaskPosition(
      point: MaskPoint.fromJson(json['point']),
      xShift: json['x_shift'],
      yShift: json['y_shift'],
      scale: json['scale'],
    );