getUserAttributeForKey static method

Future<String?> getUserAttributeForKey(
  1. String key
)

Returns the user attribute associated with a given key.

Implementation

static Future<String?> getUserAttributeForKey(String key) async {
  final List<dynamic> params = <dynamic>[key];
  return await _channel.invokeMethod<String>(
      'getUserAttributeForKey:', params);
}