developer_support library

Extensions

ListTypeExtension on List<T>
extension for list any.
ScopeTypeExtension on T
TypeExtension on T
Example :

Properties

isEnableTimber bool
getter/setter pair

Functions

when<T, R>({T? variable, Map<T, R>? conditions, R? orElse}) → dynamic
https://www.programiz.com/kotlin-programming/when-expression when can be used as a statement with or without else branch. If it is used as a statement, the values of all individual branches are compared sequentially with the argument and execute the corresponding branch where the condition matches. If none of the branches is satisfied with the condition then it will execute the else branch.