fromType static method

RepresentationType? fromType(
  1. Type type
)

Implementation

static RepresentationType? fromType(Type type) {
  return Warehouse.typesFactory[type]?.representationType;

  //Warehouse.typesFactory.values.firstWhereOrNull(x => x.representationType == )
  //return RepresentationType(
  //  RepresentationTypeIdentifier.Dynamic, true, null, null);
}