MarkDef.fromJson constructor
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.');