clone method

  1. @override
LineDashedMaterial clone()
override

Return a new material with the same parameters as this material.

Implementation

@override
LineDashedMaterial clone() {
  return LineDashedMaterial()..copy(this);
}