BusinessTheme.fromJson constructor

BusinessTheme.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory BusinessTheme.fromJson(Map<String, dynamic> json) => BusinessTheme(
      dark: json["dark"] ?? false,
      showTabBar: json["showTabBar"] ?? false,
      themeColor: json["themeColor"] ?? "",
      primaryColor: json["primaryColor"] ?? "",
      secondaryColor: json["secondaryColor"] ?? "",
      isLoginRequired: json["isLoginRequired"] ?? false,
      screenBackground: json["screenBackground"] ?? "",
    );