validate method

  1. @override
bool validate(
  1. ModelDB db,
  2. Object? value
)
override

Implementation

@override
bool validate(ModelDB db, Object? value) =>
    super.validate(db, value) && (value == null || value is bool);