toModel<MT extends StorageModel> method
Implementation
MT toModel<MT extends StorageModel>([String? type]) =>
StorageModelRegister.encode(
this is StorageCollection
? (this as StorageCollection).getSync()
: this,
);