SessionConfigSelectOptionsGrouped.fromJson constructor

SessionConfigSelectOptionsGrouped.fromJson(
  1. Object? value
)

Implementation

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