toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (all != null) 'all': all!,
      if (exclusionLabels != null) 'exclusionLabels': exclusionLabels!,
      if (inclusionLabels != null) 'inclusionLabels': inclusionLabels!,
      if (inventories != null) 'inventories': inventories!,
    };