ConstructorParameter.optional constructor

ConstructorParameter.optional(
  1. String name, {
  2. bool this$ = false,
  3. Type? type,
  4. Expression? defaultValue,
})

Implementation

ConstructorParameter.optional(String name,
    {bool this$ = false, Type? type, Expression? defaultValue})
    : super._(ParameterCategory.optional, name,
          type: type, this$: this$, defaultValue: defaultValue);