toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final bitDepth = this.bitDepth;
  final bitOrder = this.bitOrder;
  final profile = this.profile;
  final signed = this.signed;
  return {
    if (bitDepth != null) 'BitDepth': bitDepth,
    if (bitOrder != null) 'BitOrder': bitOrder,
    if (profile != null) 'Profile': profile,
    if (signed != null) 'Signed': signed,
  };
}