get method

dynamic get()

Get an object

Implementation

dynamic get() {
  if (objects.isEmpty) {
    return constructObject();
  } else {
    return objects.removeLast();
  }
}