$Exponential.fromJson constructor

$Exponential.fromJson(
  1. Map json_
)

Implementation

$Exponential.fromJson(core.Map json_)
    : this(
        growthFactor: json_.containsKey('growthFactor')
            ? (json_['growthFactor'] as core.num).toDouble()
            : null,
        numFiniteBuckets: json_.containsKey('numFiniteBuckets')
            ? json_['numFiniteBuckets'] as core.int
            : null,
        scale: json_.containsKey('scale')
            ? (json_['scale'] as core.num).toDouble()
            : null,
      );