validate property
Implementation
@override
String? get validate {
if (amount.isXrp && sendMax == null) {
if (paths != null) {
return "paths An XRP-to-XRP payment cannot contain paths.";
}
if (account == destination) {
return "An XRP payment transaction cannot have the same sender and destination";
}
}
return super.validate;
}