metal 0.0.1 copy "metal: ^0.0.1" to clipboard
metal: ^0.0.1 copied to clipboard

A flutter http client for easy use and state management when working with rest apis

Language: English

Metal #

Pub
support

A powerful Http client for Dart, which supports Request Data Types, Interceptors, Global configuration, FormData, Request Cancellation, File downloading, Timeout etc.

Get started #

Add dependency #

dependencies:  
  metal: ^0.0.1

Super simple to use #

import 'package:metal/metal.dart';
  
  final Dio uri = Dio(  
    BaseOptions(  
      baseUrl: 'https://jsonplaceholder.typicode.com/posts/1',  
    ),  
  );  
  final postMetal = Metal.explore(uri: uri, ore: PostOre());  
  await postMetal.mine.get()
	  .then((value) {
	  })
	  .catchError((err) {  
    err as MetalError;  
    return;
});

Table of contents #

This open source project authorized by https://wavercode.com, and the license is MIT.

Features and bugs #

Please file feature requests and bugs at the issue tracker.

1
likes
130
points
24
downloads

Publisher

verified publisherwavercode.com

Weekly Downloads

A flutter http client for easy use and state management when working with rest apis

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, get

More

Packages that depend on metal