get method

  1. @override
Future<Map<String, dynamic>?> get(
  1. String? key
)

Implementation

@override
Future<Map<String, dynamic>?> get(String? key) async {
  final value = await Command(_connection).get(key ?? '');
  return switch (value) {
    String() => jsonDecode(value),
    _ => value,
  };
}