Map<String, dynamic> toMap() { return <String, dynamic>{ 'entityType': entityType, 'isList': isList, 'redact': redact, }; }