AbiTargeting.fromJson constructor

AbiTargeting.fromJson(
  1. Map json_
)

Implementation

AbiTargeting.fromJson(core.Map json_)
  : this(
      alternatives: (json_['alternatives'] as core.List?)
          ?.map(
            (value) =>
                Abi.fromJson(value as core.Map<core.String, core.dynamic>),
          )
          .toList(),
      value: (json_['value'] as core.List?)
          ?.map(
            (value) =>
                Abi.fromJson(value as core.Map<core.String, core.dynamic>),
          )
          .toList(),
    );