props property

  1. @override
  2. @toBeGenerated
TProps get props
override

A typed view into the component's current JS props object.

Created using typedPropsFactoryJs and updated whenever props changes.

Implementation

@override
@toBeGenerated
TProps get props {
  // This needs to be a concrete implementation in Dart 2 for soundness;
  // without it, you get a confusing error. See: https://github.com/dart-lang/sdk/issues/36191
  throw UngeneratedError(member: #props,
      message: GeneratedErrorMessages.component1AnnotationOnComponent2);
}
set props (Map _props)
inherited

Implementation

@override
late Map props;