toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    "accounts": {
      "addresses": addresses.map((e) => e.address).toList(),
      ...encoding.toJson(),
    }
  };
}