isCorrectVariableNullable method

bool isCorrectVariableNullable()

Implementation

bool isCorrectVariableNullable() {
  final regExp = RegExp(r'.*\?.*');
  return regExp.hasMatch(this);
}