Request constructor

const Request(
  1. {@required Operation operation,
  2. Map<String, dynamic> variables: const {},
  3. Context context: const Context()}
)

Implementation

const Request({
  @required this.operation,
  this.variables = const <String, dynamic>{},
  this.context = const Context(),
})  : assert(operation != null),
      assert(context != null);