UpdateFooterCommentModel.fromJson constructor

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

Implementation

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