setAttribute static method

Future<bool> setAttribute(
  1. Map<String, dynamic> attributes
)

Implementation

static Future<bool> setAttribute(Map<String, dynamic> attributes) async {
  Map<String, Object> args = <String, Object>{};
  args.putIfAbsent(Constants.paramAttributes, () => attributes);
  final bool? result = await _channel.invokeMethod<bool>(Constants.caseAttribute, args);
  return result ?? false;
}