Axis.fromJson constructor

Axis.fromJson(
  1. Map json_
)

Implementation

Axis.fromJson(core.Map json_)
    : this(
        end: json_.containsKey('end')
            ? (json_['end'] as core.num).toDouble()
            : null,
        start: json_.containsKey('start')
            ? (json_['start'] as core.num).toDouble()
            : null,
        tag: json_.containsKey('tag') ? json_['tag'] as core.String : null,
      );