caller_info:调用者信息(调用者、闭包、文件、框架、行、方法、来源、类型)

时间:2021-07-05 09:01:18
【文件属性】:
文件名称:caller_info:调用者信息(调用者、闭包、文件、框架、行、方法、来源、类型)
文件大小:7KB
文件格式:ZIP
更新时间:2021-07-05 09:01:18
Dart 来电信息 调用者信息(调用者、闭包、文件、框架、行、方法、源、类型)。 import 'package:caller_info/caller_info.dart' ; void main () { printInfo ( new CallerInfo ()); new Foo (). test (); } class Foo { void test () { (() => printInfo ( new CallerInfo ()))(); } } void printInfo ( CallerInfo ci) { print ( "==============" ); print ( "frame: ${ ci.frame }" ); print ( "source: ${ ci.source }" ); print ( "file: ${ c
【文件预览】:
caller_info-master
----.gitignore(41B)
----pubspec.yaml(274B)
----LICENSE(1KB)
----README.md(1KB)
----example()
--------example.dart(512B)
----lib()
--------caller_info.dart(119B)
--------src()
----test()
--------test_caller_info.dart(3KB)
--------test_performance.dart(345B)

网友评论