resolve method

DateTime? resolve(
  1. VariableScope scope, {
  2. Map<String, dynamic>? runtimeVariables,
})

Implementation

DateTime? resolve(
  VariableScope scope, {
  Map<String, dynamic>? runtimeVariables,
}) =>
    switch (source) {
      InlineTimerDeadlineSource.fixed => fixedAt,
      InlineTimerDeadlineSource.fromVariable => _parseTimerInstant(
          runtimeVariables == null
              ? scope.variables[token]
              : runtimeVariables[token],
        ),
    };