ExceptionClassDefinition class final

A ClassDefinition specialization that represents an exception.

Inheritance

Constructors

ExceptionClassDefinition({required String className, required List<SerializableModelFieldDefinition> fields, required String fileName, required bool serverOnly, required String sourceFileName, required TypeDefinition type, List<String>? documentation, List<String> subDirParts = const []})
Create a new ExceptionClassDefinition.

Properties

className → String
finalinherited
documentation → List<String>?
The documentation of this class, line by line.
finalinherited
fields ↔ List<SerializableModelFieldDefinition>
The fields of this class / exception.
getter/setter pairinherited
fileName → String
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serverOnly → bool
finalinherited
sourceFileName → String
finalinherited
subDirParts → List<String>
finalinherited
type → TypeDefinition
finalinherited

Methods

fileRef() → String
Generate the file reference String to this file.
inherited
findField(String name) → SerializableModelFieldDefinition?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited