HotRestartResponse.fromJson constructor

HotRestartResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory HotRestartResponse.fromJson(Map<String, dynamic> json) =>
    HotRestartResponse(
      id: json['id'] as String,
      success: json['success'] as bool,
      errorMessage: json['error'] as String?,
    );