prepareValue method

Object? prepareValue(
  1. Object? value
)

Implementation

Object? prepareValue(Object? value) {
  if (value == null) {
    return null;
  }

  if (value is int) {
    return _prepareInt(value);
  }
  if (value is double) {
    return _prepareDouble(value);
  }
  if (value is DateTime) {
    return _prepareDateTime(value);
  }
  if (value is bool) {
    return _prepareBool(value);
  }
  if (value is List<int>) {
    return _prepareList(value);
  }
  if (value is Blob) {
    return _prepareBlob(value);
  }
  return _prepareString(value);
}