init method

  1. @override
ConstArg<T> init({
  1. required String name,
})
override

Creates a copy of this using the provided name for late initialization. If $name was already set, it should have precedence over name.

Example: Arg(0).init(name: 'integer') => Arg(0, name: 'integer') Arg(0, name: 'int').init(name: 'integer') => Arg(0, name: 'int')

Implementation

@override
ConstArg<T> init({required String name}) => this;