DocMethod class

Available extensions
Annotations
  • @JsonSerializable.new()

Constructors

DocMethod({required String name, required String returnType, required List<DocParameter> signature, required List<String> features, required String description, List<String> annotations = const []})
const
DocMethod.fromJson(Map<String, dynamic> json)
factory

Properties

annotations List<String>
final
description String
final
features List<String>
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
returnType String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature List<DocParameter>
final

Methods

compareTo(DocMethod newMethod, {required DocComponent component}) List<ApiChange>

Available on DocMethod, provided by the MethodApiChangesExt extension

Compares this method with newMethod and returns a list of ApiChanges that have been detected between the two methods.
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