PointStyle.fromJson constructor

PointStyle.fromJson(
  1. Map json_
)

Implementation

PointStyle.fromJson(core.Map json_)
    : this(
        shape:
            json_.containsKey('shape') ? json_['shape'] as core.String : null,
        size: json_.containsKey('size')
            ? (json_['size'] as core.num).toDouble()
            : null,
      );