MethodBase class abstract

Implemented types

Constructors

MethodBase({required int offset, required int end, required String name})
const
factory
MethodBase.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$MethodBaseCopyWith<_$MethodBase>
no setter
end int
no setter
hashCode int
The hash code for this object.
no setterinherited
name String
no setter
offset int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>(TResult $default(MethodBase value), {required TResult values(MethodValues value), required TResult binary(MethodBinary value), required TResult constructor(MethodConstructor value), required TResult simple(MethodSimple value)}) → TResult
inherited
mapOrNull<TResult extends Object?>(TResult? $default(MethodBase value)?, {TResult? values(MethodValues value)?, TResult? binary(MethodBinary value)?, TResult? constructor(MethodConstructor value)?, TResult? simple(MethodSimple value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>(TResult $default(MethodBase value)?, {TResult values(MethodValues value)?, TResult binary(MethodBinary value)?, TResult constructor(MethodConstructor value)?, TResult simple(MethodSimple value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>(TResult $default(int offset, int end, String name)?, {TResult values(int offset, int end, String name, List<MethodNode>? values)?, TResult binary(int offset, int end, String name, MethodNode? left, MethodNode? right, String operation)?, TResult constructor(int offset, int end, String name, String value, Map<String, MethodNode?> arguments)?, TResult simple(int offset, int end, String name, dynamic value)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(int offset, int end, String name), {required TResult values(int offset, int end, String name, List<MethodNode>? values), required TResult binary(int offset, int end, String name, MethodNode? left, MethodNode? right, String operation), required TResult constructor(int offset, int end, String name, String value, Map<String, MethodNode?> arguments), required TResult simple(int offset, int end, String name, dynamic value)}) → TResult
inherited
whenOrNull<TResult extends Object?>(TResult? $default(int offset, int end, String name)?, {TResult? values(int offset, int end, String name, List<MethodNode>? values)?, TResult? binary(int offset, int end, String name, MethodNode? left, MethodNode? right, String operation)?, TResult? constructor(int offset, int end, String name, String value, Map<String, MethodNode?> arguments)?, TResult? simple(int offset, int end, String name, dynamic value)?}) → TResult?
inherited

Operators

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