PersonalizationMetadata.fromJson constructor

PersonalizationMetadata.fromJson(
  1. Map json_
)

Implementation

PersonalizationMetadata.fromJson(core.Map json_)
    : this(
        armIndex: json_.containsKey('armIndex')
            ? json_['armIndex'] as core.int
            : null,
        choiceId: json_.containsKey('choiceId')
            ? json_['choiceId'] as core.String
            : null,
        group:
            json_.containsKey('group') ? json_['group'] as core.String : null,
        personalizationId: json_.containsKey('personalizationId')
            ? json_['personalizationId'] as core.String
            : null,
      );