UnknownValueType constructor Null safety

const UnknownValueType(
  1. {required bool optional,
  2. dynamic defaultValue}
)

Implementation

const UnknownValueType({required super.optional, super.defaultValue})
    : assert(
        optional,
        'It makes no sense to have a non-optional unknown value type!',
      );