ExperimentConfigVersionRelease.fromJson constructor

ExperimentConfigVersionRelease.fromJson(
  1. Map json_
)

Implementation

ExperimentConfigVersionRelease.fromJson(core.Map json_)
  : this(
      state: json_['state'] as core.String?,
      trafficAllocations: (json_['trafficAllocations'] as core.List?)
          ?.map(
            (value) =>
                ExperimentConfigVersionReleaseTrafficAllocation.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
    );