Class class
Represents a class with fields.
Constructors
Properties
-
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
- 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
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