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,
'userId': userId,
'extra': extra,
'isVertical': isVertical,
'isSupportDeepLink': isSupportDeepLink,
'loadingType': loadingType?.index,
'expressSize': expressSize.toJson(),
};
}