This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extension on Map? { | |
| bool get isNullOrEmpty => this?.isEmpty ?? true; | |
| bool get isNotNullOrEmpty => !isNullOrEmpty; | |
| } | |
| void main() { | |
| Map<String, dynamic>? info; | |
| print(info.isNullOrEmpty); | |
| print(info.isNotNullOrEmpty); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function (self, unitId, unitFrame, envTable) | |
| --after editing this script, save it and /reload | |
| Plater.TargetIndicators ["KuiArrow"] = { | |
| path = [[Interface\Addons\Kui_Nameplates_Core\media\target-arrow]], | |
| coords = { | |
| {0, 1, 0, 1}, | |
| {1, 0, 0, 1} | |
| }, |