toJson method

  1. @override
String toJson(
  1. PolyAmount? object
)

Implementation

@override
String toJson(PolyAmount? object) {
  return object?.getInNanopoly.toString() ?? '';
}