d_method 0.2.6 copy "d_method: ^0.2.6" to clipboard
d_method: ^0.2.6 copied to clipboard

Package for some shortcut method, utility function and etc

D'Method is package to get value from several compute, to faster build app.

Usage #

Convert Byte #

double size = DMethod.byteToMb(10123456);
DMethod.printTitle(
    'byteToMb',
    '${size.toStringAsFixed(2)} Mb',
);

Check Response http #

String url = 'https://jsonplaceholder.typicode.com/posts';
final response = await http.get(Uri.parse(url));
DMethod.printResponse(response);
DMethod.logResponse(response);
dmethod_printtitle

Log Console #

DMethod.printTitle('http://flutterdlux/youtube','oooooo');
DMethod.printTitle('http://flutterdlux/youtube','oooooo',titleCode: 105);
DMethod.printTitle('http://flutterdlux/youtube','oooooo',titleCode: 105,bodyCode: 106);
DMethod.log('from 10123456 byte');
DMethod.logTitle('http://flutterdlux/youtube','oooooo',titleCode: 105,bodyCode: 106);
dmethod_printtitle

Color Code
dmethod_printtitle_color_code dmethod_printtitle_color_code

Tutorial : #

Support me for more feature & packages Donate

Check my app : Visit

Check My Tutorial & Course : Watch

2
likes
130
pub points
83%
popularity

Publisher

verified publisherindratrisnar.com

Package for some shortcut method, utility function and etc

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, http

More

Packages that depend on d_method