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