current property

Platform get current

Implementation

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