DeleteCommentResponse.fromJson constructor

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

Implementation

factory DeleteCommentResponse.fromJson(Map<String, dynamic> json) => DeleteCommentResponse(
      ok: json["ok"]?.toString() ?? 'true',
      activityState: json["activity_state"]?.toString() ?? '',
      activityPoints: json["activity_points"],
      message: json["message"]?.toString() ?? '',
    );