FlutlyVariable constructor

FlutlyVariable(
  1. String key,
  2. dynamic value, {
  3. Map<String, FlutlyVariable>? children,
})

Implementation

FlutlyVariable(this.key, dynamic value, {Map<String, FlutlyVariable>? children}) {
  _children = children ?? {};

  this.value = Rx<dynamic>(value);

  if(key != ""){
    Get.lazyPut(()=> this, tag: key);
  }
}