queryRecoverable method

Future<RecoveryInfo?> queryRecoverable(
  1. String address
)

Implementation

Future<RecoveryInfo?> queryRecoverable(String address) async {
//    address = "J4sW13h2HNerfxTzPGpLT66B3HVvuU32S6upxwSeFJQnAzg";
  final res = await service.queryRecoverable(address);
  if (res != null) {
    return RecoveryInfo.fromJson(
        Map<String, dynamic>.of(res as Map<String, dynamic>));
  }
  return null;
}