encode method Null safety
Implementation
Object encode() {
final Map<Object?, Object?> pigeonMap = <Object?, Object?>{};
pigeonMap['id'] = id;
pigeonMap['title'] = title;
pigeonMap['contentId'] = contentId;
pigeonMap['contentUrl'] = contentUrl;
pigeonMap['clickThroughUrl'] = clickThroughUrl;
pigeonMap['durationMs'] = durationMs;
pigeonMap['imageUrl'] = imageUrl;
pigeonMap['mimeType'] = mimeType;
pigeonMap['whenSkippableMs'] = whenSkippableMs;
return pigeonMap;
}