encode method Null safety
Implementation
Object encode() {
final Map<Object?, Object?> pigeonMap = <Object?, Object?>{};
pigeonMap['mediaType'] = mediaType?.index;
pigeonMap['strings'] = strings;
pigeonMap['webImages'] = webImages;
return pigeonMap;
}