toJson method
Converts the request to JSON representation.
Implementation
@override
Map<String, dynamic> toJson() {
return {
"streams": streams?.map((e) => e.value).toList(),
"accounts": accounts,
"accounts_proposed": accountProposed,
"books": books?.map((e) => e.toJson()).toList()
};
}