i am learning a flutter realm. i am unable to import a realm object which is in another file
import 'package:realm/realm.dart';
part 'item_type_schemas.g.dart';
/---item_type_schema.dart
@RealmModel()
class _ItemType {
@MapTo('_id')
@PrimaryKey()
late ObjectId id;
late String name;
late String description;
late bool isConsumable;
late bool isActive;
}
/--item_category_schemas.dart
import 'package:realm/realm.dart';
import '../../item_type/data/item_type_schemas.dart';
part 'item_category_schemas.g.dart';
@RealmModel()
class _ItemCategory {
@MapTo('_id')
@PrimaryKey()
late ObjectId id;
late String name;
late String description;
late _ItemType? itemType;
late bool isActive;
}
i am unable to import _ItemType. kindly help