toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adType != null) 'adType': adType!,
      if (onScreenPosition != null) 'onScreenPosition': onScreenPosition!,
      if (targetingOptionId != null) 'targetingOptionId': targetingOptionId!,
    };