indexIdentityFn top-level property
TrackByFn
indexIdentityFn
final
Function for use by NgFor for optionGroup to avoid recreating the DOM for the optionGroup.
Implementation
final TrackByFn indexIdentityFn = (num index, dynamic _) => index;