getFloat64 method

double? getFloat64(
  1. int fieldId
)

Reads a float64 field, or null when absent.

Implementation

double? getFloat64(int fieldId) {
  final cursor = this.cursor();
  while (cursor.next()) {
    if (cursor.fieldId != fieldId) continue;
    _requireWire(cursor, fieldId, VxsWire.fixed64);
    return _data.getFloat64(cursor.valueOffset, Endian.little);
  }
  return null;
}