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<Notification>((value) => Notification.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );