Map<String, dynamic> toMap() { return <String, dynamic>{ 'bitDepth': ?bitDepth, 'bitOrder': ?bitOrder, 'profile': ?profile, 'signed': ?signed, }; }