declaredIdentifier abstract method

DeclaredIdentifier declaredIdentifier(
  1. Comment? comment,
  2. List<Annotation>? metadata,
  3. Token? keyword,
  4. TypeAnnotation? type,
  5. SimpleIdentifier identifier,
)

Returns a newly created formal parameter. Either or both of the comment and metadata can be null if the declaration does not have the corresponding attribute. The keyword can be null if a type name is given. The type must be null if the keyword is 'var'.

Implementation

DeclaredIdentifier declaredIdentifier(
    Comment? comment,
    List<Annotation>? metadata,
    Token? keyword,
    TypeAnnotation? type,
    SimpleIdentifier identifier);