HotReloadResponse class

A response to a hot reload request.

Constructors

HotReloadResponse({required String id, required bool success, String? errorMessage})
HotReloadResponse.fromJson(Map<String, dynamic> json)
Creates a HotReloadResponse from a JSON map.
factory

Properties

errorMessage String?
An optional error message if success is false.
final
hashCode int
The hash code for this object.
no setteroverride
id String
The unique identifier matching the request.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool
Whether the hot reload succeeded on the client.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this HotReloadResponse to a JSON map.
toString() String
A string representation of this object.
override

Operators

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