# getVersion method

Future<String> getVersion()

Retrieves the version from the native platform.

Returns a String containing the version or 'not found' if an error occurs.

## Implementation

    Future<String> getVersion() async {
      final response = await invokeNativeMethod('SmartfaceLicense.getVersion');

      if (response.isLeft()) {
        return 'not found';
      }

      return response.asRight;
    }