current property

Platform current

Implementation

static Platform get current {
  var c = _current;
  if (c == null) throw StateError('No platform initialized.');
  return c;
}