V2TimValueCallback<T>.fromBool constructor

V2TimValueCallback<T>.fromBool(
  1. bool isSuccess,
  2. String desc
)

Implementation

V2TimValueCallback.fromBool(bool isSuccess, String desc)  {
  code = isSuccess ? 0 : 1;
  desc = desc;
}