toJson method
Implementation
String toJson() {
return json.encode({
"amount": amount!.toMap(),
"times": times,
"interval": interval,
"description": description,
"webhookUrl": webhookUrl,
});
}
String toJson() {
return json.encode({
"amount": amount!.toMap(),
"times": times,
"interval": interval,
"description": description,
"webhookUrl": webhookUrl,
});
}