XAxisPointer.fromJson constructor
XAxisPointer.fromJson(
- Object? raw
Implementation
factory XAxisPointer.fromJson(Object? raw) {
if (raw is XAxisPointer) return raw;
final json = JsonValue.map(raw) ?? const <String, dynamic>{};
return XAxisPointer(type: JsonValue.string(json['type']));
}