Skip to content

Commit d711343

Browse files
authored
fix(dart): corrected url path for dart docs (#8090)
1 parent 67044f2 commit d711343

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/fragments/lib-v1/graphqlapi/flutter/subscribe-data.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Subscribe to mutations for creating real-time clients.
22

33
## Setup subscription with callbacks
44

5-
When creating subscriptions, a [`Stream`](https://api.dart.dev/stable/dart-async/Stream-class.html) object will be returned to you. This `Stream` will continue producing events until either the subscription encounters an error or you cancel the subscription. In the case of need for limiting the amount of data that is omitted, you can take advantage of the Stream's helper functions such as `take`. The cancellation occurs when the defined amount of event has occurred:
5+
When creating subscriptions, a [`Stream`](https://api.dart.dev/dart-async/Stream-class.html) object will be returned to you. This `Stream` will continue producing events until either the subscription encounters an error or you cancel the subscription. In the case of need for limiting the amount of data that is omitted, you can take advantage of the Stream's helper functions such as `take`. The cancellation occurs when the defined amount of event has occurred:
66

77
```dart
88
Stream<GraphQLResponse<Todo>> subscribe() {
@@ -23,7 +23,7 @@ Stream<GraphQLResponse<Todo>> subscribe() {
2323
}
2424
```
2525

26-
Alternatively, you can call [`Stream.listen`](https://api.dart.dev/stable/dart-async/Stream/listen.html) to create a [`StreamSubscription`](https://api.dart.dev/stable/dart-async/StreamSubscription-class.html) object which can be programmatically canceled.
26+
Alternatively, you can call [`Stream.listen`](https://api.dart.dev/dart-async/Stream/listen.html) to create a [`StreamSubscription`](https://api.dart.dev/dart-async/StreamSubscription-class.html) object which can be programmatically canceled.
2727

2828
```dart
2929
// Be sure to import this

src/fragments/lib-v1/project-setup/flutter/escape-hatch/escape-hatch.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ the Dart environment which is configured by passing the `dart-define` flag to yo
2727
$ flutter run --dart-define=AWS_ACCESS_KEY_ID=... --dart-define=AWS_SECRET_ACCESS_KEY=...
2828
```
2929

30-
On Desktop, credentials are retrieved from the system's environment using [Platform.environment](https://api.dart.dev/stable/dart-io/Platform/environment.html).
30+
On Desktop, credentials are retrieved from the system's environment using [Platform.environment](https://api.dart.dev/dart-io/Platform/environment.html).
3131

3232
### Signing a Request
3333

src/fragments/lib/graphqlapi/flutter/subscribe-data.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Subscribe to mutations for creating real-time clients.
22

33
## Setup subscription with callbacks
44

5-
When creating subscriptions, a [`Stream`](https://api.dart.dev/stable/dart-async/Stream-class.html) object will be returned to you. This `Stream` will continue producing events until either the subscription encounters an error or you cancel the subscription. In the case of need for limiting the amount of data that is omitted, you can take advantage of the Stream's helper functions such as `take`. The cancellation occurs when the defined amount of event has occurred:
5+
When creating subscriptions, a [`Stream`](https://api.dart.dev/dart-async/Stream-class.html) object will be returned to you. This `Stream` will continue producing events until either the subscription encounters an error or you cancel the subscription. In the case of need for limiting the amount of data that is omitted, you can take advantage of the Stream's helper functions such as `take`. The cancellation occurs when the defined amount of event has occurred:
66

77
```dart
88
Stream<GraphQLResponse<Todo>> subscribe() {
@@ -23,7 +23,7 @@ Stream<GraphQLResponse<Todo>> subscribe() {
2323
}
2424
```
2525

26-
Alternatively, you can call [`Stream.listen`](https://api.dart.dev/stable/dart-async/Stream/listen.html) to create a [`StreamSubscription`](https://api.dart.dev/stable/dart-async/StreamSubscription-class.html) object which can be programmatically canceled.
26+
Alternatively, you can call [`Stream.listen`](https://api.dart.dev/dart-async/Stream/listen.html) to create a [`StreamSubscription`](https://api.dart.dev/dart-async/StreamSubscription-class.html) object which can be programmatically canceled.
2727

2828
```dart
2929
// Be sure to import this

src/pages/[platform]/build-a-backend/data/subscribe-data/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ Subscribe to mutations for creating real-time clients.
565565

566566
## Setup subscription with callbacks
567567

568-
When creating subscriptions, a [`Stream`](https://api.dart.dev/stable/dart-async/Stream-class.html) object will be returned to you. This `Stream` will continue producing events until either the subscription encounters an error or you cancel the subscription. In the case of need for limiting the amount of data that is omitted, you can take advantage of the Stream's helper functions such as `take`. The cancellation occurs when the defined amount of event has occurred:
568+
When creating subscriptions, a [`Stream`](https://api.dart.dev/dart-async/Stream-class.html) object will be returned to you. This `Stream` will continue producing events until either the subscription encounters an error or you cancel the subscription. In the case of need for limiting the amount of data that is omitted, you can take advantage of the Stream's helper functions such as `take`. The cancellation occurs when the defined amount of event has occurred:
569569

570570
```dart
571571
Stream<GraphQLResponse<Todo>> subscribe() {
@@ -586,7 +586,7 @@ Stream<GraphQLResponse<Todo>> subscribe() {
586586
}
587587
```
588588

589-
Alternatively, you can call [`Stream.listen`](https://api.dart.dev/stable/dart-async/Stream/listen.html) to create a [`StreamSubscription`](https://api.dart.dev/stable/dart-async/StreamSubscription-class.html) object which can be programmatically canceled.
589+
Alternatively, you can call [`Stream.listen`](https://api.dart.dev/dart-async/Stream/listen.html) to create a [`StreamSubscription`](https://api.dart.dev/dart-async/StreamSubscription-class.html) object which can be programmatically canceled.
590590

591591
```dart
592592
// Be sure to import this

0 commit comments

Comments
 (0)