Operation constructor

const Operation(
  1. {@required DocumentNode document,
  2. String operationName}
)

Implementation

const Operation({
  @required this.document,
  this.operationName,
}) : assert(document != null);