RolloutMetadata.fromJson constructor

RolloutMetadata.fromJson(
  1. Map json_
)

Implementation

RolloutMetadata.fromJson(core.Map json_)
    : this(
        affectedParameterKeys: json_.containsKey('affectedParameterKeys')
            ? (json_['affectedParameterKeys'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        rolloutId: json_.containsKey('rolloutId')
            ? json_['rolloutId'] as core.String
            : null,
        variantId: json_.containsKey('variantId')
            ? json_['variantId'] as core.String
            : null,
      );