toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (marketingInfo != null) 'marketingInfo': marketingInfo!,
      if (name != null) 'name': name!,
      if (product != null) 'product': product!,
    };