Params fromID(ID id, Map<String, dynamic> json) { final params = _usecaseParams[id]; if (params == null) { throw Exception('UseCaseParams not found for ID: $id'); } return params.fromJson(json); }