decode static method

AdBreakClipInfo decode(
  1. Object message
)

Implementation

static AdBreakClipInfo decode(Object message) {
  final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
  return AdBreakClipInfo(
    id: pigeonMap['id'] as String?,
    title: pigeonMap['title'] as String?,
    contentId: pigeonMap['contentId'] as String?,
    contentUrl: pigeonMap['contentUrl'] as String?,
    clickThroughUrl: pigeonMap['clickThroughUrl'] as String?,
    durationMs: pigeonMap['durationMs'] as int?,
    imageUrl: pigeonMap['imageUrl'] as String?,
    mimeType: pigeonMap['mimeType'] as String?,
    whenSkippableMs: pigeonMap['whenSkippableMs'] as int?,
  );
}