tryParse static method

SolanaPayRequest? tryParse(
  1. String url
)

Implementation

static SolanaPayRequest? tryParse(String url) {
  try {
    return SolanaPayRequest.parse(url);
  } on ParseUrlException {
    return null;
  }
}