takeFromMap method
Used for meta-forms in setting deep properties
Implementation
void takeFromMap(Map<String, dynamic>? from, {bool copyEntries = true}) {
if (from == null) return;
super.takeFromMap(from, copyEntries: copyEntries);
for (final entry in from.entries) {
final key = entry.key;
final value = entry.value;
if (value == null) continue;
switch (key) {
case "operation":
_operation = value as String;
break;
case "path":
_path = value as String;
break;
case "from":
_from = value as String;
break;
default:
break;
}
}
}