BlockFrostServiceProvider mixin
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
-
doRequest<T>(BlockFrostRequestDetails params, {Duration? timeout})
→ Future<BlockFrostServiceResponse<T>>
-
Example:
@override
Future<
BlockFrostServiceResponse<T>
> doRequest<T
>(BlockFrostRequestDetails params,
{Duration? timeout}) async {
final response = await client
.post(params.toUri(url), headers: params.headers, body: params.body())
.timeout(timeout ?? defaultTimeOut);
return params.toResponse(response.bodyBytes, response.statusCode);
}
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited