LoopParameters.fromJson constructor
Implementation
LoopParameters.fromJson(Map<String,dynamic> json){
split = json['split'] ?? true;
uvSmooth = json['uvSmooth'] ?? false;
preserveEdges = json['preserveEdges'] ?? false;
flatOnly = json['flatOnly'] ?? false;
maxTriangles = json['maxTriangles'] ?? double.maxFinite.toInt();
weight = json['weight'] ?? 1;
}