UserTrait.bool constructor

UserTrait.bool(
  1. String key,
  2. bool value
)

Creates a boolean trait.

Implementation

UserTrait.bool(String key, bool value) : this.string(key, value.toString());