Parameter.fromTypeIdentifier constructor

Parameter.fromTypeIdentifier(
  1. Scope scope,
  2. int methodToken,
  3. TypeIdentifier runtimeType
)

Creates a parameter object from a provided type identifier.

Implementation

factory Parameter.fromTypeIdentifier(
        Scope scope, int methodToken, TypeIdentifier runtimeType) =>
    Parameter(scope, 0, methodToken, 0, 0, runtimeType, '', Uint8List(0));