dtos property

DtoRegistry get dtos

the DTOs of the app, from config.dtos. Empty before initialize.

Implementation

DtoRegistry get dtos {
  return _dtos ??= DtoRegistry(
    _initialized ? config.dtos : const <DtoSchema<Object>>[],
  );
}