isNullable property
bool
isNullable
returns true if this type identifier contains the nullable flag
Implementation
bool get isNullable => isDynamic || typeName.endsWith('?');
returns true if this type identifier contains the nullable flag
bool get isNullable => isDynamic || typeName.endsWith('?');