toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final attributes = this.attributes;
  final merge = this.merge;
  return {
    if (attributes != null) 'attributes': attributes,
    if (merge != null) 'merge': merge,
  };
}