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