toJson method
Converts this HotReloadResponse to a JSON map.
Implementation
Map<String, dynamic> toJson() => {
'id': id,
'success': success,
if (errorMessage != null) 'error': errorMessage,
};
Converts this HotReloadResponse to a JSON map.
Map<String, dynamic> toJson() => {
'id': id,
'success': success,
if (errorMessage != null) 'error': errorMessage,
};