Map<String, dynamic> toMap() { return <String, dynamic>{ 'file': file, 'resourcePrefix': ?resourcePrefix, 'transformations': ?transformations_, }; }