attach method

void attach(
  1. Object owner
)

Implementation

void attach(Object owner) {
  if (_status == FlarkStatus.disposed) {
    throw StateError('Controller disposed');
  }
  if (_attachment != null && !identical(_attachment, owner)) {
    throw StateError('A FlarkController supports one attached editor.');
  }
  _attachment = owner;
}