toJson method

  1. @override
dynamic toJson()
inherited

Convert to JSON encodable. Returns hex string.

This method is used by default by dart:convert's JsonEncoder.

Implementation

@override
toJson() => toHex();