UserSetting.fromJson constructor

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

Implementation

factory UserSetting.fromJson(Map<String, dynamic> json) {
  return UserSetting(
    themeMode: asString(json['theme_mode']),
    themeBagImg: asString(json['theme_bag_img']),
    themeColor: asString(json['theme_color']),
    notifyCueTone: asString(json['notify_cue_tone']),
    keyboardEventNotify: asString(json['keyboard_event_notify']),
  );
}