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,
      );