setLocation method

void setLocation(
  1. dynamic location
)

Implementation

void setLocation(location) {
  this.location = location;
}