toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final artwork = this.artwork;
  final mergePolicy = this.mergePolicy;
  return {
    if (artwork != null) 'Artwork': artwork,
    if (mergePolicy != null) 'MergePolicy': mergePolicy,
  };
}