Realm enums on flutter

Hello comunity.

i’m working with realm and i’m triying to create a realModel with a enum for EmployeeTypes (it cotaint 2 options for now)

But when i tried to use it to generate the schemas.g.dart file i’m receiving the following error:

Not a realm type

in: package:flutter_todo/realm/schemas.dart:61:8
    ╷
16  │ enum EmployeesTypes {
    │      ━━━━━━━━━━━━━━
... │
57  │ @RealmModel()
58  │ class _Employee {
    │       ━━━━━━━━━ in realm model for 'Employee'
... │
61  │   late EmployeesTypes type;
    │        ^^^^^^^^^^^^^^ EmployeesTypes is not a realm model type
    ╵
Add a @RealmModel annotation on 'EmployeesTypes', or an @Ignored annotation on 'type'.

[INFO] realm:realm_generator on lib/components/todo_item.dart:[generate (0)] completed, took 243ms
[INFO] realm:realm_generator on lib/components/modify_item.dart:[generate (0)] completed, took 259ms
[INFO] Running build completed, took 12.6s

[INFO] Caching finalized dependency graph...
[INFO] Caching finalized dependency graph completed, took 119ms

And this is my model

import 'package:realm/realm.dart';
part 'schemas.g.dart';

enum EmployeesTypes {
  liaisonExecutive,
  loanLead
}

@RealmModel()
class _Employee {
  @PrimaryKey()
  late ObjectId id;
  late EmployeesTypes type;
  late DateTime createdAt;
  late DateTime updatedAt;

Any advice about how can i manage the enums types with realm?

Take a look here for supported data types: docs