IncludeConditions.fromJson constructor

IncludeConditions.fromJson(
  1. Map json_
)

Implementation

IncludeConditions.fromJson(core.Map json_)
    : this(
        daysToLookBack: json_.containsKey('daysToLookBack')
            ? json_['daysToLookBack'] as core.int
            : null,
        isSmartList: json_.containsKey('isSmartList')
            ? json_['isSmartList'] as core.bool
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        membershipDurationDays: json_.containsKey('membershipDurationDays')
            ? json_['membershipDurationDays'] as core.int
            : null,
        segment: json_.containsKey('segment')
            ? json_['segment'] as core.String
            : null,
      );