encode method Null safety

Object encode()

Implementation

Object encode() {
  final Map<Object?, Object?> pigeonMap = <Object?, Object?>{};
  pigeonMap['adBreakId'] = adBreakId;
  pigeonMap['adBreakClipId'] = adBreakClipId;
  pigeonMap['whenSkippableMs'] = whenSkippableMs;
  return pigeonMap;
}