string if 구문 숫자일시 제대로 판단 안됨
This commit is contained in:
parent
5e0e5cf62b
commit
f77d23a76a
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ abstract class PipelineCondition extends PipelineExecutor {
|
|||
: (value is String)
|
||||
? double.parse(value) as double?
|
||||
: value,
|
||||
'string': (value) => (value == 'null' || value == null) ? null : value,
|
||||
'string': (value) => (value == 'null' || value == null) ? null : value.toString(),
|
||||
'bool': (value) => (value == 'null' || value == null)
|
||||
? null
|
||||
: (value is String)
|
||||
|
|
|
|||
Loading…
Reference in a new issue