asOptional method Null safety

  1. @override
CanBeEmptyStringValueType asOptional(
  1. {bool optional = true}
)
override

Implementation

@override
CanBeEmptyStringValueType asOptional({bool optional = true}) =>
    CanBeEmptyStringValueType(optional: optional, defaultValue: defaultValue);