isOptional property

bool isOptional

Implementation

bool get isOptional {
  return optionalType != null;
}