Map<String, dynamic> toMap() { return <String, dynamic>{ 'id': id, 'status': status != null ? describeEnum(status!) : null, }; }