toJson method

  1. @override
Map<String, dynamic> toJson()
override

Converts the request to JSON representation.

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "full": full,
    "accounts": accounts,
    "transactions": transactions,
    "expand": expand,
    "owner_funds": ownerFunds,
    "binary": binary,
    "queue": queue,
    "type": type?.value
  };
}