querySchemaByDid method Null safety

Future<QueryWhatIsResponse?> querySchemaByDid(
  1. String did
)

It queries the schema by the DID.

Args: did (String): The DID of the schema.

Implementation

Future<QueryWhatIsResponse?> querySchemaByDid(String did) async {
  return await MotorFlutterPlatform.instance.querySchemaByDid(did);
}