PercentCondition.fromJson constructor

PercentCondition.fromJson(
  1. Map json_
)

Implementation

PercentCondition.fromJson(core.Map json_)
    : this(
        microPercent: json_.containsKey('microPercent')
            ? json_['microPercent'] as core.int
            : null,
        microPercentRange: json_.containsKey('microPercentRange')
            ? MicroPercentRange.fromJson(json_['microPercentRange']
                as core.Map<core.String, core.dynamic>)
            : null,
        percentOperator: json_.containsKey('percentOperator')
            ? json_['percentOperator'] as core.String
            : null,
        seed: json_.containsKey('seed') ? json_['seed'] as core.String : null,
      );