setValueForStringWithKey static method

Future<void> setValueForStringWithKey(
  1. String value,
  2. CustomTextPlaceHolderKey key
)

Overrides any of the strings shown in the SDK with custom ones. Allows you to customize a value shown to users in the SDK using a predefined key.

Implementation

static Future<void> setValueForStringWithKey(
    String value, CustomTextPlaceHolderKey key) async {
  final List<dynamic> params = <dynamic>[value, key.toString()];
  await _channel.invokeMethod<Object>('setValue:forStringWithKey:', params);
}