description

# of static method

CreationLocation? of(

1. Object? object

)

Returns the creation location of `object`.

The provided object must be an instance of a class annotated with `@pragma('track-creation-locations')`.

## Implementation

    static CreationLocation? of(Object? object) {
      if (object is _HasCreationLocation) {
        return object._location;
      }
      return null;
    }