NodeSize.fromJson constructor

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

Implementation

factory NodeSize.fromJson(Map<String, dynamic> json) => NodeSize(
      width: json["width"] == null ? 0 : (json["width"] as double),
      height: json["height"] == null ? 0 : (json["height"] as double),
    );