ContentUpdateVersion.fromJson constructor

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

Implementation

factory ContentUpdateVersion.fromJson(Map<String, Object?> json) {
  return ContentUpdateVersion(
    number: (json[r'number'] as num?)?.toInt() ?? 0,
    message: json[r'message'] as String?,
  );
}