NonNegativeOffset.fromJson constructor

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

Implementation

factory NonNegativeOffset.fromJson(Map<String, dynamic> json) => NonNegativeOffset(
    x: json["x"],
    y: json["y"],
);