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