CommentActivityResultResponse.fromJson constructor
CommentActivityResultResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CommentActivityResultResponse.fromJson(Map<String, dynamic> json) =>
CommentActivityResultResponse(
ok: json["ok"]?.toString() ?? 'true',
activityState: json["activity_state"]?.toString() ?? '',
activityPoints: json["activity_points"],
message: json["message"]?.toString() ?? '',
executionError: json["execution_error"]?.toString(),
object: CommentActivityModel.fromJson(json["object"]),
);