getFactoryById method

  1. @override
Function? getFactoryById(
  1. String id
)

Get a type factory from a type id

Implementation

@override
Function? getFactoryById(String id) {
  return _mappers.values.where((m) => m.id == id).firstOrNull?.typeFactory ??
      _types[id];
}