https://github.com/zonble/mrtlib_dart
https://github.com/zonble/mrtlib_dart
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zonble/mrtlib_dart
- Owner: zonble
- License: mit
- Created: 2018-06-30T12:20:30.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-01T08:22:40.000Z (almost 8 years ago)
- Last Synced: 2025-07-31T01:59:04.320Z (11 months ago)
- Language: Dart
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# mrtlib
A simple library help to find routes in Taipei MRT.
Created from templates made available by Stagehand under a BSD-style
[license](https://github.com/dart-lang/stagehand/blob/master/LICENSE).
## Usage
To the the library, you can create a new instance of `MRTMap`.
``` dart
final map = new MRTMap();
```
Then, you can input two stations and find all possible routes between them.
``` dart
final routes = map.findRoutes('大安', '忠孝復興');
```
That's all!