SourceArguments class

Arguments for source request.

Inheritance

Constructors

SourceArguments({Source? source, required int sourceReference})
SourceArguments.fromMap(Map<String, Object?> obj)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source Source?
Specifies the source content to load. Either source.path or source.sourceReference must be specified.
final
sourceReference int
The reference to the source. This is the same as source.sourceReference. This is provided for backward compatibility since old clients do not understand the source attribute.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

canParse(Object? obj) bool
override
fromJson(Map<String, Object?> obj) SourceArguments