setInfo method

  1. @override
Future<void> setInfo(
  1. String name,
  2. String key,
  3. I info
)

Sets the partition info indexed by key.

  • name: The partition name
  • key: The key
  • info: The info

Implementation

@override
Future<void> setInfo(String name, String key, I info) {
  final slot = _slot(name);

  if (slot != null) {
    final entry = slot[key];

    if (entry != null) {
      entry.updateInfo(info);
    }
  }

  return Future.value();
}