FixedOrPercent.fromJson constructor

FixedOrPercent.fromJson(
  1. Map json_
)

Implementation

FixedOrPercent.fromJson(core.Map json_)
    : this(
        fixed: json_.containsKey('fixed') ? json_['fixed'] as core.int : null,
        percent: json_.containsKey('percent')
            ? json_['percent'] as core.int
            : null,
      );