Map<String, dynamic> toMap() { return <String, dynamic>{ 'headerName': headerName, 'regexMatch': regexMatch, }; }