update method

void update(
  1. String query
)

Implementation

void update(String query) => state = query;