$Linear.fromJson constructor

$Linear.fromJson(
  1. Map json_
)

Implementation

$Linear.fromJson(core.Map json_)
    : this(
        numFiniteBuckets: json_.containsKey('numFiniteBuckets')
            ? json_['numFiniteBuckets'] as core.int
            : null,
        offset: json_.containsKey('offset')
            ? (json_['offset'] as core.num).toDouble()
            : null,
        width: json_.containsKey('width')
            ? (json_['width'] as core.num).toDouble()
            : null,
      );