0 purchases
d method
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',
);
copied to clipboard
Check Response http #
String url = 'https://jsonplaceholder.typicode.com/posts';
final response = await http.get(Uri.parse(url));
DMethod.printResponse(response);
DMethod.logResponse(response);
copied to clipboard
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);
copied to clipboard
Color Code
Tutorial : #
Support me for more feature & packages
Donate
Check my app : Visit
Check My Tutorial & Course : Watch
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.