Appearance.fromJson constructor

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

Implementation

factory Appearance.fromJson(Map<String, dynamic> json) => Appearance(
      lightMode: Mode.fromJson(json["light_mode"] ?? {}),
      darkMode: Mode.fromJson(json["dark_mode"] ?? {}),
    );