An open API service indexing awesome lists of open source software.

https://github.com/karan/typeof.dart

typeOf in Dart.
https://github.com/karan/typeof.dart

Last synced: 23 days ago
JSON representation

typeOf in Dart.

Awesome Lists containing this project

README

          

typeof.dart
===========

typeOf in Dart.

### 1. Depend on it

In your `pubspec.yaml`, add:

dependencies:
typeof: ">=0.01"

### 2. Install it

Run from your command line:

$ pub get

Alternatively, your editor might support pub. Check the docs for your editor to learn more.

### 3. Import it

In your Dart code:

import 'package:typeof/typeof.dart';

### 4. Use it

String obj_type = typeOf(SomeObj);