placeValues method Null safety

void placeValues(
  1. dynamic data
)

Implementation

void placeValues(data) {
  if (data is Context) {
    this._setContext(data);
  } else if (data is Map) {
    this.insertMap(data);
  } else if (data is Uint8List) {
    this._setDataPtr(data);
  } else if (data is List) {
    this.insertList(data);
  } else if (data is int) {
    this._setLong(data);
  } else if (data is double) {
    this._setDouble(data);
  } else if (data is String) {
    this._setStr(data);
  } else if (data is bool) {
    this._setBool(data);
  }
}