do_dart 0.1.7 copy "do_dart: ^0.1.7" to clipboard
do_dart: ^0.1.7 copied to clipboard

do_dart is an implementation of the digitalocean api which can be used on mobile, web or server

example/main.dart

import 'package:do_dart/do_dart.dart';
import 'dart:io' show Platform, sleep;

void main() async {
  var envVars = Platform.environment;
  var client = Client(envVars['DO_KEY']);

  var account = await client.account.get();

  print(account.toString());
}
0
likes
40
pub points
9%
popularity

Publisher

unverified uploader

do_dart is an implementation of the digitalocean api which can be used on mobile, web or server

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

dotenv, json_annotation

More

Packages that depend on do_dart