ParamSpec.bool constructor

ParamSpec.bool({
  1. bool required = false,
  2. bool? defaultValue,
})

Implementation

factory ParamSpec.bool({
  bool required = false,
  bool? defaultValue,
}) {
  return ParamSpec.internal(
    type: ParamType.bool,
    required: required,
    defaultValue: defaultValue,
  );
}