const GraphQLArg(this.key, this.value, {this.isRequired = false}) : assert(!isRequired || value != null, '"$key" must be required and not null');