LineStyle.fromJson constructor

LineStyle.fromJson(
  1. Map json_
)

Implementation

LineStyle.fromJson(core.Map json_)
    : this(
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        width: json_.containsKey('width') ? json_['width'] as core.int : null,
      );