Settings.fromJson constructor

Settings.fromJson(
  1. Map json_
)

Implementation

Settings.fromJson(core.Map json_)
    : this(
        notifications: json_.containsKey('notifications')
            ? (json_['notifications'] as core.List)
                .map((value) => Notification.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );