RuntimeCompletionExpressionType class

A type at runtime.

Constructors

RuntimeCompletionExpressionType(String kind, {String? libraryPath, String? name, List<RuntimeCompletionExpressionType>? typeArguments, RuntimeCompletionExpressionType? returnType, List<RuntimeCompletionExpressionType>? parameterTypes, List<String>? parameterNames})

Properties

hashCode int
The hash code for this object.
no setterinherited
kind String
The kind of the type.
final
libraryPath String?
The path of the library that has this type. Omitted if the type is not declared in any library, e.g. "dynamic", or "void".
final
name String?
The name of the type. Omitted if the type does not have a name, e.g. an inline function type.
final
parameterNames List<String>?
If the type is a function type, the names of the function parameters of all kinds - required, optional positional, and optional named. The names of positional parameters are empty strings. Omitted if the type is not a function type.
final
parameterTypes List<RuntimeCompletionExpressionType>?
If the type is a function type, the types of the function parameters of all kinds - required, optional positional, and optional named. Omitted if the type is not a function type.
final
returnType RuntimeCompletionExpressionType?
If the type is a function type, the return type of the function. Omitted if the type is not a function type.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeArguments List<RuntimeCompletionExpressionType>?
The type arguments of the type. Omitted if the type does not have type parameters.
final

Methods

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

Static Methods

parse(Map m) RuntimeCompletionExpressionType