create static method

VectorPathCommandLine create({
  1. bool schemeUtilsIsSetDefaultData = false,
  2. String special_type = "vectorPathCommandLine",
  3. String special_return_type = "vectorPathCommand",
  4. Point? end_point,
})
override

Generate By General Universe Script Dont edit by hand or anything manual

Implementation

static VectorPathCommandLine create({
  bool schemeUtilsIsSetDefaultData = false,
  String special_type = "vectorPathCommandLine",
  String special_return_type = "vectorPathCommand",
  Point? end_point,
}) {
  // VectorPathCommandLine vectorPathCommandLine = VectorPathCommandLine({
  final Map vectorPathCommandLine_data_create_json = {
    "@type": special_type,
    "@return_type": special_return_type,
    "end_point": (end_point != null) ? end_point.toJson() : null,
  };

  vectorPathCommandLine_data_create_json.removeWhere((key, value) => value == null);

  if (schemeUtilsIsSetDefaultData) {
    defaultData.forEach((key, value) {
      if (vectorPathCommandLine_data_create_json.containsKey(key) == false) {
        vectorPathCommandLine_data_create_json[key] = value;
      }
    });
  }
  return VectorPathCommandLine(vectorPathCommandLine_data_create_json);
}