Class class
Represents a class with fields.
Constructors
Properties
-
children
↔ List<
Class> -
List of class definitions of children.
getter/setter pair
-
documentationComments
↔ List<
String> -
List of documentation comments, separated by line.
getter/setter pair
-
fields
↔ List<
NamedType> -
All the fields contained in the class.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isReferenced ↔ bool
-
Whether the class is referenced in any API.
getter/setter pair
- isSealed ↔ bool
-
Whether the class is sealed.
getter/setter pair
- isSwiftClass ↔ bool
-
Determines whether the defined class should be represented as a struct or
a class in Swift generation.
getter/setter pair
- name ↔ String
-
The name of the class.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- superClass ↔ Class?
-
The definition of the parent class.
getter/setter pair
- superClassName ↔ String?
-
Name of parent class, will be empty when there is no super class.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited