addTaskResultValue method

void addTaskResultValue(
  1. dynamic value, [
  2. Map<String, dynamic>? others
])

Implementation

void addTaskResultValue(dynamic value, [Map<String, dynamic>? others]) {
  final currentTaskKey = "${addTaskResultValueTaskName()}$taskResultSuffix";
  // print("currentTaskKey $currentTaskKey");
  otherProps[currentTaskKey] = value ?? otherProps[currentTaskKey];
  if (others != null) {
    mergeMaps(otherProps, {currentTaskKey: others});
  }
}