SessionConfigSelectOptionsUngrouped.fromJson constructor

SessionConfigSelectOptionsUngrouped.fromJson(
  1. Object? value
)

Implementation

factory SessionConfigSelectOptionsUngrouped.fromJson(Object? value) {
  final decoded = SessionConfigSelectOptions.fromJson(value);
  if (decoded is! SessionConfigSelectOptionsUngrouped) {
    throw const AcpWireDecodeException(
      'Expected SessionConfigSelectOptionsUngrouped.',
    );
  }
  return decoded;
}