SessionConfigOptionCategoryOther.fromJson constructor

SessionConfigOptionCategoryOther.fromJson(
  1. Object? value
)

Implementation

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