obtainFeatureVariable method

Future<Object?> obtainFeatureVariable(
  1. dynamic featureKeyOrID,
  2. String variableKey
)

Implementation

Future<Object?> obtainFeatureVariable(
    var featureKeyOrID, String variableKey) async {
  if (featureKeyOrID is int) {
    return await _channel
        .invokeMethod("obtainFeatureVariable", <String, dynamic>{
      "variableKey": variableKey,
      "featureID": featureKeyOrID,
      "siteCode": this.siteCode
    });
  } else {
    return await _channel
        .invokeMethod("obtainFeatureVariable", <String, dynamic>{
      "variableKey": variableKey,
      "featureKey": featureKeyOrID,
      "siteCode": this.siteCode
    });
  }
}