toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (duration != null) 'duration': duration!,
      if (isValidVast != null) 'isValidVast': isValidVast!,
      if (isVpaid != null) 'isVpaid': isVpaid!,
      if (mediaFiles != null) 'mediaFiles': mediaFiles!,
      if (skipOffset != null) 'skipOffset': skipOffset!,
      if (vastVersion != null) 'vastVersion': vastVersion!,
    };