validatesStructureOf method
Returns true if the structure of data is valid according to request's structure.
Returns true if the structure of data is valid according to request's structure.
Thin wrapper around validateOperationDataStructure
Implementation
/// Returns `true` if the structure of [data] is valid according to [request]'s structure.
///
/// Thin wrapper around [validateOperationDataStructure]
bool validatesStructureOf(Map<String, dynamic> data) =>
validateOperationDataStructure(
document: operation.document,
operationName: operation.operationName,
variables: variables,
handleException: true,
data: data,
);