decode method Null safety
- Object message
Implementation
static AdBreakStatus decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return AdBreakStatus(
adBreakId: pigeonMap['adBreakId'] as String?,
adBreakClipId: pigeonMap['adBreakClipId'] as String?,
whenSkippableMs: pigeonMap['whenSkippableMs'] as int?,
);
}