forElement abstract method
ForElement
forElement({
- Token? awaitKeyword,
- required Token forKeyword,
- required Token leftParenthesis,
- required ForLoopParts forLoopParts,
- required Token rightParenthesis,
- required CollectionElement body,
Returns a newly created for element that can be part of a list, map or set literal.
Implementation
ForElement forElement(
{Token? awaitKeyword,
required Token forKeyword,
required Token leftParenthesis,
required ForLoopParts forLoopParts,
required Token rightParenthesis,
required CollectionElement body});