toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (campaigns != null) 'campaigns': campaigns!,
      if (offering != null) 'offering': offering!,
      if (salesChannel != null) 'salesChannel': salesChannel!,
      if (storeId != null) 'storeId': storeId!,
    };