encodeBool function

dynamic encodeBool(
  1. bool b
)

Implementation

encodeBool(bool b) {
  return b ? 1 : 0;
}