RolloutValue.fromJson constructor

RolloutValue.fromJson(
  1. Map json_
)

Implementation

RolloutValue.fromJson(core.Map json_)
    : this(
        percent: json_.containsKey('percent')
            ? (json_['percent'] as core.num).toDouble()
            : null,
        rolloutId: json_.containsKey('rolloutId')
            ? json_['rolloutId'] as core.String
            : null,
        value:
            json_.containsKey('value') ? json_['value'] as core.String : null,
      );