SetSessionConfigOptionRequestValueId.fromMap constructor

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

Implementation

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