UsersettingsNotification.fromJson constructor

UsersettingsNotification.fromJson(
  1. Map json_
)

Implementation

UsersettingsNotification.fromJson(core.Map json_)
    : this(
        matchMyInterests: json_.containsKey('matchMyInterests')
            ? UsersettingsNotificationMatchMyInterests.fromJson(
                json_['matchMyInterests']
                    as core.Map<core.String, core.dynamic>)
            : null,
        moreFromAuthors: json_.containsKey('moreFromAuthors')
            ? UsersettingsNotificationMoreFromAuthors.fromJson(
                json_['moreFromAuthors']
                    as core.Map<core.String, core.dynamic>)
            : null,
        moreFromSeries: json_.containsKey('moreFromSeries')
            ? UsersettingsNotificationMoreFromSeries.fromJson(
                json_['moreFromSeries']
                    as core.Map<core.String, core.dynamic>)
            : null,
        priceDrop: json_.containsKey('priceDrop')
            ? UsersettingsNotificationPriceDrop.fromJson(
                json_['priceDrop'] as core.Map<core.String, core.dynamic>)
            : null,
        rewardExpirations: json_.containsKey('rewardExpirations')
            ? UsersettingsNotificationRewardExpirations.fromJson(
                json_['rewardExpirations']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );