UpdateInlineCommentModel.fromJson constructor

UpdateInlineCommentModel.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory UpdateInlineCommentModel.fromJson(Map<String, Object?> json) {
  return UpdateInlineCommentModel(
    version: json[r'version'] != null
        ? UpdateInlineCommentModelVersion.fromJson(
            json[r'version']! as Map<String, Object?>)
        : null,
    body: json[r'body'],
    resolved: json[r'resolved'] as bool? ?? false,
  );
}