toJson method

dynamic toJson()

Converts the object to JSON representation.

Implementation

dynamic toJson() {
  return xrp?.toString() ?? isseAmount!.toJson();
}