getFromDataLayer static method

Future getFromDataLayer(
  1. String key
)

Retrieves a value from the data layer for a specified key

Furture<dynamic> the value for the key specified if it exists

Implementation

static Future<dynamic> getFromDataLayer(String key) async {
  return await _channel.invokeMethod('getFromDataLayer', {'key': key});
}