Skip to content

Validating a Null value

import 'package:luthor/luthor.dart';
void main() {
final validator = l.nullValue();
print(validator.validateValue(null));
}

null validation does not work with json_serializable which is a requirement for luthor_generator.