AttachmentUpdateVersion.fromJson constructor

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

Implementation

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