newInstance method

  1. @override
Unit newInstance([
  1. Object? value
])
override

Creates a new instance of this class.

Implementation

@override
Unit newInstance([Object? value]) {
  return Foot(value);
}