PopupState.from constructor

PopupState.from(
  1. PopupState other
)

Create a new popup state from other.

Implementation

factory PopupState.from(PopupState other) {
  // TODO(google): Remove this once it's popup service has a default state.
  //if (other == null) return PopupState();
  return PopupState._(ObservableMap.from(other._backingMap));
}