isRequired property Null safety

bool isRequired

Implementation

bool get isRequired => _isRequired(type);