expand method

  1. @override
Iterable<Geographic> expand(
  1. ExpandPosition expand
)
override

Expands this position to an iterable of zero or more positions of using expand.

When expand returns zero or one position it can be considered implementing a filter.

Implementation

@override
Iterable<Geographic> expand(ExpandPosition expand) =>
    expand.call(this, to: Geographic.create);