MarkDef.fromJson constructor

MarkDef.fromJson(
  1. Map<String, dynamic> json
)

Converts a MarkDef to a JSON map. Should be implemented by subclasses.

Implementation

factory MarkDef.fromJson(final Map<String, dynamic> json) =>
    throw UnsupportedError('This should be implemented by the subclass.');