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