clone method

  1. @override
MeshLambertMaterial clone()
override

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

Implementation

@override
MeshLambertMaterial clone() {
  return MeshLambertMaterial(<MaterialProperty, dynamic>{}).copy(this);
}