Constant constructor

  1. @Deprecated('Use Constant.bool or Constant.string instead.')
Constant(
  1. dynamic value
)

Creates a constant Expression. Currently supports bool and String.

Implementation

@Deprecated('Use Constant.bool or Constant.string instead.')
Constant(dynamic value) : super(_formatValue(value));