Last active
June 8, 2022 12:21
-
-
Save M97Chahboun/82cf60232b87b7a0f138c79ae1b16b50 to your computer and use it in GitHub Desktop.
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
// inside of object use rocket extension | |
RocketController().add("key",value,readOnly:true); // you can't edit it if readonly true | |
// or | |
// [add] return value | |
rocket.add<Type>("key",value); | |
// [get] return value | |
rocket.get<Type>("key"); | |
// [remove] | |
rocket.remove("key"); | |
// remove with condition | |
rocket.removeWhere((key,value)=>key.contains("ke")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment