toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final albumArtFormat = this.albumArtFormat;
  final encryption = this.encryption;
  final inputKey = this.inputKey;
  final maxHeight = this.maxHeight;
  final maxWidth = this.maxWidth;
  final paddingPolicy = this.paddingPolicy;
  final sizingPolicy = this.sizingPolicy;
  return {
    if (albumArtFormat != null) 'AlbumArtFormat': albumArtFormat,
    if (encryption != null) 'Encryption': encryption,
    if (inputKey != null) 'InputKey': inputKey,
    if (maxHeight != null) 'MaxHeight': maxHeight,
    if (maxWidth != null) 'MaxWidth': maxWidth,
    if (paddingPolicy != null) 'PaddingPolicy': paddingPolicy,
    if (sizingPolicy != null) 'SizingPolicy': sizingPolicy,
  };
}