Skip to content

Commit

Permalink
Improves Examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangomz committed Oct 22, 2021
1 parent 5848ed4 commit c57d828
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions example/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ print(calendar.summary); // title: "Agenda institucional"
```

### Communication
The institutional communicatoin information can be found in the `communication` attribute on the `UMMobileSDK` class or using the `UMMobileCommunication` class.
The institutional communication information can be found in the `communication` attribute on the `UMMobileSDK` class or using the `UMMobileCommunication` class.

#### `getNews()`
Returns a list of the latest news (Posts) from Conéctate.
Expand All @@ -147,7 +147,9 @@ List<Post> posts = await sdk.communication.getBlog(quantity: 3);
#### `getStories()`
Returns a list of the latest stories from Conéctate.
```dart
List<Group> stories = await sdk.communication.getStories();
List<Group> groups = await sdk.communication.getStories();
print(groups.stories); // [Instance of Story, Instance of Story, ...]
```

### Academic
Expand Down

0 comments on commit c57d828

Please sign in to comment.