Usersettings.fromJson constructor

Usersettings.fromJson(
  1. Map json_
)

Implementation

Usersettings.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        notesExport: json_.containsKey('notesExport')
            ? UsersettingsNotesExport.fromJson(
                json_['notesExport'] as core.Map<core.String, core.dynamic>)
            : null,
        notification: json_.containsKey('notification')
            ? UsersettingsNotification.fromJson(
                json_['notification'] as core.Map<core.String, core.dynamic>)
            : null,
      );