toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'titleColor': titleColor?.value,
    'tintColor': tintColor?.value,
    'backgroundColorLightMode': backgroundColorLightMode?.value,
    'backgroundColorDarkMode': backgroundColorDarkMode?.value,
    'backButtonImage': backButtonImage?.toList(),
    'closeButtonImage': closeButtonImage?.toList(),
  };
}