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