GraphqlQueryCompressor class

GraphqlQueryCompressor is a injectable version from compressGraphqlQuery, it is specially designed for you, that like pretty codes Since the code is executed by call, you can use this class as an use case:

class MyClass{ final GraphqlQueryCompressor compressor; MyClass(this.compressor);

void fun(String query){ final compressed = compressor(query); }

Constructors

GraphqlQueryCompressor()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(String query) String
call compress a query, eliminating unwanted characters
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance GraphqlQueryCompressor
final