putAttribute method

Future<void> putAttribute(
  1. String key,
  2. dynamic value
)

Implementation

Future<void> putAttribute(String key, dynamic value) async {
  try {
    Map<String, dynamic> args = {key: value};
    _channel.invokeMethod('putAttributes', args);
  } on Exception catch (e) {
    Logger.i("$e Error in putAttribute");
  }
}