// Copyright 2014 The Flutter Authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file./// Framework code should use this method in favor of calling `toString` on/// [Object.runtimeType].////// Calling `toString` on a runtime type is a non-trivial operation that can/// negatively impact performance. If asserts are enabled, this method will/// return `object.runtimeType.toString()`; otherwise, it will return the/// [optimizedValue], which must be a simple constant string.StringobjectRuntimeType(Objectobject,StringoptimizedValue){assert((){optimizedValue=object.runtimeType.toString();returntrue;}());returnoptimizedValue;}