SessionConfigOptionSelect.fromMap constructor

SessionConfigOptionSelect.fromMap(
  1. Map<Object?, Object?> value
)

Implementation

factory SessionConfigOptionSelect.fromMap(Map<Object?, Object?> value) {
  final decoded = SessionConfigOption.fromMap(value);
  if (decoded is! SessionConfigOptionSelect) {
    throw const AcpWireDecodeException('Expected SessionConfigOptionSelect.');
  }
  return decoded;
}