Parameter.fromVoid constructor

Parameter.fromVoid(
  1. Scope scope,
  2. int methodToken
)

Creates a void parameter object.

Implementation

factory Parameter.fromVoid(Scope scope, int methodToken) => Parameter(scope,
    0, methodToken, 0, 0, TypeIdentifier(BaseType.Void), '', Uint8List(0));