toMap method

  1. @override
Map<String, dynamic> toMap()
override

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    "entersReaderIfAvailable": entersReaderIfAvailable,
    "barCollapsingEnabled": barCollapsingEnabled,
    "dismissButtonStyle": dismissButtonStyle.toNativeValue(),
    "preferredBarTintColor": preferredBarTintColor?.toHex(),
    "preferredControlTintColor": preferredControlTintColor?.toHex(),
    "presentationStyle": presentationStyle.toNativeValue(),
    "transitionStyle": transitionStyle.toNativeValue()
  };
}