Deserializes a MarkDef from a JSON map.
typedef MarkDefFromJson = MarkDef Function(Map<String, dynamic> json);