directus 0.10.2 copy "directus: ^0.10.2" to clipboard
directus: ^0.10.2 copied to clipboard

The unofficial SDK for Directus, provides REST API and authentication. Requires Flutter.

example/main.dart

import 'package:directus/directus.dart';

// class Article {}

// class ConverterNew extends ItemsConverter<Article> {
//   @override
//   Article fromJson(Map<String, Object?> data) {
//     throw UnimplementedError();
//   }

//   @override
//   Map<String, Object?> toJson(Article data) {
//     throw UnimplementedError();
//   }
// }

void main() async {
  final sdk = await Directus('http://localhost:8055').init();
  final results = await sdk.items('posts').readMany();
  // ignore: avoid_print
  print(results);
}
38
likes
150
pub points
80%
popularity

Publisher

verified publisherdirectus.io

The unofficial SDK for Directus, provides REST API and authentication. Requires Flutter.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

directus_core, flutter, shared_preferences

More

Packages that depend on directus