clone method

  1. @override
ShadowMaterial clone()
override

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

Implementation

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