bind static method

dynamic bind(
  1. dynamic obj
)

Implementation

static bind(dynamic obj) {
  dynamic key = obj.runtimeType.toString();
  if (_binds.containsKey(key)) {
    return _binds[key];
  } else {
    _binds[key] = obj;
    return obj;
  }
}