registerListCast<T> method

void registerListCast<T>(
  1. ListCastFunction<T> castFn
)

Implementation

void registerListCast<T>(ListCastFunction<T> castFn) {
  _listCasts[_typeOf<List<T>>()] = castFn;
}