get method

DeviceInfo get()

Implementation

DeviceInfo get() {
  assert(this is! Future<DeviceInfo>, "PlatformInfo is not resolved yet.");
  return this as DeviceInfo;
}