Map<String, dynamic> toMap() { return <String, dynamic>{ 'alias': alias, 'entityType': entityType, 'text': text, 'userDefined': userDefined, }; }