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
140
pub points
10%
popularity

Publisher

verified publisherwavercode.com

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dio, flutter, get

More

Packages that depend on metal