NeverType class abstract
The type Never represents the uninhabited bottom type.
- Implemented types
Constructors
Properties
- alias → InstantiatedTypeAliasElement?
- 
  If this type is an instantiation of a type alias, information about
the alias element, and the type arguments.
Otherwise return null.no setterinherited
- element → Element?
- 
  Return the element representing the declaration of this type, or nullif the type is not associated with an element.no setterinherited
- element3 → Element?
- 
  Return the element representing the declaration of this type, or nullif the type is not associated with an element.no setterinherited
- extensionTypeErasure → DartType
- 
  The extension type erasure of this type.
  no setterinherited
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- isBottom → bool
- 
  Return trueif this type represents the bottom type.no setterinherited
- isDartAsyncFuture → bool
- 
  Return trueif this type represents the type 'Future' defined in the dart:async library.no setterinherited
- isDartAsyncFutureOr → bool
- 
  Return trueif this type represents the typeFutureOr<T>defined in the dart:async library.no setterinherited
- isDartAsyncStream → bool
- 
  Return trueif this type represents the type 'Stream' defined in the dart:async library.no setterinherited
- isDartCoreBool → bool
- 
  Return trueif this type represents the type 'bool' defined in the dart:core library.no setterinherited
- isDartCoreDouble → bool
- 
  Return trueif this type represents the type 'double' defined in the dart:core library.no setterinherited
- isDartCoreEnum → bool
- 
  Return trueif this type represents the type 'Enum' defined in the dart:core library.no setterinherited
- isDartCoreFunction → bool
- 
  Return trueif this type represents the type 'Function' defined in the dart:core library.no setterinherited
- isDartCoreInt → bool
- 
  Return trueif this type represents the type 'int' defined in the dart:core library.no setterinherited
- isDartCoreIterable → bool
- 
  Returns trueif this type represents the type 'Iterable' defined in the dart:core library.no setterinherited
- isDartCoreList → bool
- 
  Returns trueif this type represents the type 'List' defined in the dart:core library.no setterinherited
- isDartCoreMap → bool
- 
  Returns trueif this type represents the type 'Map' defined in the dart:core library.no setterinherited
- isDartCoreNull → bool
- 
  Return trueif this type represents the type 'Null' defined in the dart:core library.no setterinherited
- isDartCoreNum → bool
- 
  Return trueif this type represents the type 'num' defined in the dart:core library.no setterinherited
- isDartCoreObject → bool
- 
  Return trueif this type represents the typeObjectdefined in the dart:core library.no setterinherited
- isDartCoreRecord → bool
- 
  Return trueif this type represents the type 'Record' defined in the dart:core library.no setterinherited
- isDartCoreSet → bool
- 
  Returns trueif this type represents the type 'Set' defined in the dart:core library.no setterinherited
- isDartCoreString → bool
- 
  Return trueif this type represents the type 'String' defined in the dart:core library.no setterinherited
- isDartCoreSymbol → bool
- 
  Returns trueif this type represents the type 'Symbol' defined in the dart:core library.no setterinherited
- isDartCoreType → bool
- 
  Return trueif this type represents the type 'Type' defined in the dart:core library.no setterinherited
- name → String?
- 
  Return the name of this type, or nullif the type does not have a name, such as when the type represents the type of an unnamed function.no setterinherited
- nullabilitySuffix → NullabilitySuffix
- 
  If this type ends in a suffix (?or*), the suffix it ends with; otherwise NullabilitySuffix.none.no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  accept<R> (TypeVisitor< R> visitor) → R
- 
  Use the given visitorto visit this type.inherited
- 
  acceptWithArgument<R, A> (TypeVisitorWithArgument< R, A> visitor, A argument) → R
- 
  Use the given visitorto visit this type.inherited
- 
  asInstanceOf(InterfaceElement element) → InterfaceType? 
- 
  Return the canonical interface that this type implements for element, ornullif such an interface does not exist.inherited
- 
  asInstanceOf2(InterfaceElement element) → InterfaceType? 
- 
  Return the canonical interface that this type implements for element, ornullif such an interface does not exist.inherited
- 
  getDisplayString({bool withNullability = true}) → String 
- 
  Return the presentation of this type as it should appear when presented
to users in contexts such as error messages.
  inherited
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited