MinOption constructor Null safety

MinOption(
  1. {String? value,
  2. bool? exclusive,
  3. String? msgFormat}
)

Implementation

factory MinOption({
  $core.String? value,
  $core.bool? exclusive,
  $core.String? msgFormat,
}) {
  final _result = create();
  if (value != null) {
    _result.value = value;
  }
  if (exclusive != null) {
    _result.exclusive = exclusive;
  }
  if (msgFormat != null) {
    _result.msgFormat = msgFormat;
  }
  return _result;
}