RefactoringMethodParameter class

A description of a parameter in a method refactoring.

Constructors

RefactoringMethodParameter(String kind, String type, String name, {String? id, String? parameters})

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
The unique identifier of the parameter. Clients may omit this field for the parameters they want to add.
final
kind String
The kind of the parameter.
final
name String
The name that should be given to the parameter.
final
parameters String?
The parameter list of the parameter's function type. If the parameter is not of a function type, this field will not be defined. If the function type has zero parameters, this field will have a value of '()'.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type that should be given to the parameter, or the return type of the parameter's function type.
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) RefactoringMethodParameter