toJSON method
Convert config to json
Implementation
@override
Map<String, dynamic> toJSON() {
var expressSize = this.expressSize;
expressSize ??= PangleExpressSize.aspectRatio9_16();
return <String, dynamic>{
'slotId': slotId,
'isSupportDeepLink': isSupportDeepLink,
'orientation': orientation.index,
'loadingType': loadingType.index,
'expressSize': expressSize.toJson(),
};
}