DocConstructor class
- Available extensions
- Annotations
-
- @JsonSerializable.new()
Constructors
-
DocConstructor({required String name, required List<
DocParameter> signature, required List<String> features, List<String> annotations = const []}) -
const
-
DocConstructor.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
annotations
→ List<
String> -
final
-
features
→ List<
String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
signature
→ List<
DocParameter> -
final
Methods
-
compareTo(
DocConstructor newConstructor, {required DocComponent component}) → List< ApiChange> -
Available on DocConstructor, provided by the ConstructorApiChangesExt extension
Comparesthisconstructor withnewConstructorand returns a list of ApiChanges that have been detected between the two constructors. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited