InteropProps class

A JavaScript interop class representing a React JS props object.

Used for storing/accessing ReactDartComponentInternal objects in react-dart ReactElements and ReactComponents, as well as for preparing reserved props (key and ref) for consumption by ReactJS.

For internal/advanced use only.

Implemented types
Annotations
  • @JS()
  • @anonymous

Constructors

InteropProps({ReactDartComponentInternal? internal, String? key, Object? ref})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
internal ReactDartComponentInternal
The Dart props for components using Component, but not Component2, which stores props as properties on this object.
no setter
key ↔ dynamic
getter/setter pair
ref ↔ dynamic
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited