Interface IDartInternalObject


public interface IDartInternalObject
Basic interface for Dart objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieve an object attribute by name.
    Retrieve the map of objects attributes.
    int
    Retrieve the object class id.
    boolean
    Determine whether this object is one of the snapshot's base objects.
  • Method Details

    • getClassId

      int getClassId()
      Retrieve the object class id. To determine the class name, use IDartAotSnapshotInfo.getClassIdNameMap().
      Returns:
      the class id
    • isBase

      boolean isBase()
      Determine whether this object is one of the snapshot's base objects.
      Returns:
      true if the object belongs to the base object set
    • getAttributes

      Map<String,Object> getAttributes()
      Retrieve the map of objects attributes.
      Returns:
      unmodifiable map
    • getAttribute

      Object getAttribute(String key)
      Retrieve an object attribute by name.
      Parameters:
      key - attribute name
      Returns:
      an attribute, null if none