toJson method

dynamic toJson()

Implementation

Json toJson() {
  return {
    'hex': hexString,
    'type': type,
  };
}