doubleToBuff method

BuffDouble doubleToBuff(
  1. double target,
  2. String key
)

Implementation

BuffDouble doubleToBuff(double target, String key) {
  BuffDouble buff = BuffDouble();
  buff.key = key;
  buff.value = target;
  return buff;
}