addSmartechIdentity method

void addSmartechIdentity(
  1. String identity
)

Implementation

void addSmartechIdentity(final String identity) {
  try {
    if (identity.isNotNullAndEmpty) {
      _channel.invokeMethod('addSmartechIdentity', identity);
    }
  } on PlatformException catch (e) {
    log(e.message ?? "Error in addSmartechIdentity");
  }
}