toJson abstract method

Map<String, dynamic> toJson()

Serializes this resolver to a JSON-compatible format.

The resulting map can be used with PackageFileResolver.fromJson to reconstruct the resolver.

@return A map representing the serialized resolver state

Implementation

Map<String, dynamic> toJson();