get method

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

Method to make get. It's called from rust

Implementation

Future<String?> get(String key) async {
  try {
    return _get(key);
  } catch (_) {
    throw ErrorCode.Generic;
  }
}