Scalar.float64 constructor

Scalar.float64(
  1. double value
)

Implementation

factory Scalar.float64(double value) {
  final data = ByteData(8)..setFloat64(0, value, Endian.big);
  return Scalar.float64Bits(data.getUint64(0, Endian.big));
}