toMap method
转换为Map - 只包含非null的参数
Implementation
Map<String, dynamic> toMap() {
final Map<String, dynamic> map = {};
if (showBackBtn != null) map['showBackBtn'] = showBackBtn;
if (isShowNeedTopMargin != null)
map['isShowNeedTopMargin'] = isShowNeedTopMargin;
if (topMargin != null) map['topMargin'] = topMargin;
if (isShowActionBar != null) map['isShowActionBar'] = isShowActionBar;
if (fontSize != null) map['fontSize'] = fontSize;
if (isBold != null) map['isBold'] = isBold;
if (actionBarBackgroundColor != null)
map['actionBarBackgroundColor'] = actionBarBackgroundColor;
if (supportOrientationChange != null)
map['supportOrientationChange'] = supportOrientationChange;
if (allowPanBack != null) map['allowPanBack'] = allowPanBack;
if (isShowNavigationBar != null)
map['isShowNavigationBar'] = isShowNavigationBar;
if (navigationBarBackgroundColor != null)
map['navigationBarBackgroundColor'] = navigationBarBackgroundColor;
if (navigationBarTitleColor != null)
map['navigationBarTitleColor'] = navigationBarTitleColor;
if (navigationBarButtonColor != null)
map['navigationBarButtonColor'] = navigationBarButtonColor;
if (statusBarStyle != null) map['statusBarStyle'] = statusBarStyle;
if (adOffset != null) map['adOffset'] = adOffset;
if (bottomOffset != null) map['bottomOffset'] = bottomOffset;
if (hideClose != null) map['hideClose'] = hideClose;
if (progressBarStyle != null) map['progressBarStyle'] = progressBarStyle;
if (customCategory != null) map['customCategory'] = customCategory;
if (scene != null) map['scene'] = scene;
if (titleTopMargin != null) map['titleTopMargin'] = titleTopMargin;
if (titleLeftMargin != null) map['titleLeftMargin'] = titleLeftMargin;
if (titleRightMargin != null) map['titleRightMargin'] = titleRightMargin;
if (drawChannelType != null) map['drawChannelType'] = drawChannelType;
if (hideFollow != null) map['hideFollow'] = hideFollow;
if (hideChannelName != null) map['hideChannelName'] = hideChannelName;
if (enableRefresh != null) map['enableRefresh'] = enableRefresh;
if (watchTogetherRole != null) map['watchTogetherRole'] = watchTogetherRole;
if (hostGroupId != null) map['hostGroupId'] = hostGroupId;
if (showCloseButton != null) map['showCloseButton'] = showCloseButton;
if (hiddenGuideGeste != null) map['hiddenGuideGeste'] = hiddenGuideGeste;
if (outBottomOffset != null) map['outBottomOffset'] = outBottomOffset;
if (featureValuesArr != null) map['featureValuesArr'] = featureValuesArr;
if (recommandTabName != null) map['recommandTabName'] = recommandTabName;
if (drawVCTabOptions != null) map['drawVCTabOptions'] = drawVCTabOptions;
if (shouldDisableFollowingFunc != null)
map['shouldDisableFollowingFunc'] = shouldDisableFollowingFunc;
if (shouldHideTabBarView != null)
map['shouldHideTabBarView'] = shouldHideTabBarView;
if (customRefresh != null) map['customRefresh'] = customRefresh;
if (navBarInset != null) map['navBarInset'] = navBarInset;
if (hiddenPlayletTitleView != null)
map['hiddenPlayletTitleView'] = hiddenPlayletTitleView;
if (hiddenPlayletEnterView != null)
map['hiddenPlayletEnterView'] = hiddenPlayletEnterView;
return map;
}